I would like to pass a variable between workbooks, but I run into two errors. I can remedy the error's by creating more then one input, but it is most likely annoying for the end user.
Requires that I ask the user to put single qoutes around their response. I was looking into the filedialog but I believe it would fail in the same way. Additionally if I activate that work book.Dim vReply as string vReply input = ("stuff") Application.Run ("vReply & !MacroName")
It can not have quotes so if I set the variable and need to activate and run.Dim vReply as string Workbooks(vReply).Activate
With that being said how could I set the input to force the user to browse to the file, and then have it pass in both instances presented above?
Last edited by elfvis; 01-05-2012 at 09:00 PM.
Any suggestions?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks