Consulting

Results 1 to 3 of 3

Thread: Next without For error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Regular
    Joined
    Dec 2017
    Location
    UK Midlands
    Posts
    11
    Location

    Next without For error

    Hi everyone

    I have a 42 sheet workbook and I need to collect data from 18 of them.
    The 18 sheets have varying amounts of data that is updated separately.
    The data is to be pasted onto a summary sheet - called "Day by Day (2)".
    The code should loop through all the sheets looking for those that have "update" in cell A1.

    The issue I have encountered is that my code generates a Next without For error.

    I am attaching my code - if anyone can spot my error I would be grateful.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •