Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50049

[SOLVED] Inserting Event code from one worksheet to another

$
0
0
Hi all,

I have been tasked with creating a macro/VBA code to process a weekly data base for easier viewing/updating. I have gotten the code as far as I can and need your HELP!!!

As it stands now, the code from the data workbook gets copied into a new sheet and pasted as values, it gets sorted (column hidden, etc.), then saved. I am using the macro "inserter" in the Updater workbook to paste in event code to auto highlight changes to the new document created and this is where I am stuck. I get the error "run-time error 9 script out or range". I have tried moving where I call the inserter macro thinking it had to do with which sheet was active to no avail though...

I have attached the "Updater" workbook as well as a sample "data" workbook so you can see what I am trying to accomplish.

Thanks in advance for the assistance!

Alex


Updater.xlsm data.xlsx

Viewing all articles
Browse latest Browse all 50049

Trending Articles