I'd like to open a file from within VBA whose name will change based on user input (Inputbox). The following VBA code opens a specific file
(filename1):
#Set WBInput = Workbooks.Open("C:\users\myname\documents\folder\filename1")#
But how can the name "filename1" be written to be a variable name? Seems like concatenation of some kind should work but after multiple attempts I can't figure it out.
Thanks in advance.
Bookmarks