This post is related to another post that was solved but created another issue, because of my lack of thinking ahead. here is the link to the original post in case it might help..... http://www.excelforum.com/excel-prog...ing-vba-2.html
The below code sorts data by date to find newly updated data and creates a new sheet and places the updated data into it, which works absolutely wonderfully.
Here is the part where I didn't think ahead. The sheet will be updated multiple times per day by multiple users, so the above code sends all the users updated data for the "current" day. I need it to send the updated data by the date and current user. In column B is where the current user ID/Name appears. I was provided with the code below, basically just adding the CurrentUser lines....![]()
Please Login or Register to view this content.
and now I get a "Run-time Error '91': Object variable or With block variable not set at the following line![]()
Please Login or Register to view this content.
I have tried different declarations for rngFind and current user but can't seem to get it figured out.![]()
Please Login or Register to view this content.
If anyone has any suggestions, I will try (just about) ANYTHING at this point.
Sorry for the long post.
Bookmarks