Hi Everybody,
I'm currently trying to teach myself a little vb scripting for a project i'm working on.
I've setup a macro to copy/paste data from one spreadsheet to another.
i have the end user opening a template , enter data, then saving the spreadsheet. I then want them to run this macro to copy certain cells from this sheet to another spreadsheet.
i am trying to figure out how to get the name of the spreadsheet that i'm doing the copying from. since it'll be different every time i cant hard code the file name in the script.
I'm also trying to figure how how to switch "focus" between the 2 spreadsheets so that i can copy from one and paste to the other back and forth.
Thanks Much in Advance,
Joe
I'm currently trying to teach myself a little vb scripting for a project i'm working on.
I've setup a macro to copy/paste data from one spreadsheet to another.
i have the end user opening a template , enter data, then saving the spreadsheet. I then want them to run this macro to copy certain cells from this sheet to another spreadsheet.
i am trying to figure out how to get the name of the spreadsheet that i'm doing the copying from. since it'll be different every time i cant hard code the file name in the script.
I'm also trying to figure how how to switch "focus" between the 2 spreadsheets so that i can copy from one and paste to the other back and forth.
Thanks Much in Advance,
Joe