Hi
I have a workbook with two worksheets. The first worksheet, "Source", basically just has some editing done to it to end up with two columns, and the second worksheet, "Rates", does a vlookup from the first sheet.
The problem I'm experiencing is that the code only works as its supposed to when "Source" is the active sheet. If I run with the "Rates" sheet as active, no editing is done to "Source" sheet. What do I need to do so that the user is able run the macro with the "Rates" sheet open, instead of having to launch it from the "Source" sheet? I plan on adding a button the to the ribbon.
On a side note, when I only have the "Source" code in the book, the macro to edit runs in under a second. Once I add in the "Rates" code, it takes noticeably longer. Is it my code perhaps?
Here's the code:
Thanks for the help!Please Login or Register to view this content.
Bookmarks