I am writing code that opens up other workbooks and copy/pastes the charts into my original workbook.
Currently, my code looks like this
This is problematic, as if the length of the file name ever changes, my macro won't be able tot open the file properly. Is there a better way to do this?![]()
Please Login or Register to view this content.
My thought was, maybe theres some way to associate the file location with a wildcard, e.g.
where the wildcard is the file name, then I could say![]()
Please Login or Register to view this content.
where the wildcard is the EXACT wildcard from GrabFileLocation.![]()
Please Login or Register to view this content.
This is just a thought on how to best call a filename. If anyone has a better idea, please let me know. Thanks!
Bookmarks