Hello,
I'm writing a macro to post a monthly income journal. The main macro uses vlookup to search for an account number that corresponds to a code, and then inputs the debit or credit based on the day of the month. I need the macro to look through at least 6 worksheets, but I'm having trouble getting the macro to loop through more than the first worksheet ("HOTEL") after it finds a blank cell. I'm using a "Do Until" loop and trying to "Exit Do" and have the macro go on to the next worksheet ("WKST"), then the next worksheet, etc., but I can't make it happen. When it finds a blank cell and exits the loop, it moves down to the DEFINELOCATION macro, but I don't want that yet if it hasn't found the correct account number on the first worksheet.
Thank you for any ideas on this! Here's the code I have:
Please Login or Register to view this content.
Bookmarks