Help! I am new to VBA and I am trying to open several html pages from an excel spreadsheet. The html file name is stored in DesiredFileName1, DesiredFileName2, DesiredFileName3, etc all the way to 266. Some of the DesiredFileNames have values (html file name), and some are empty based upon user selections. I am trying to do a loop to load all 266 file names, but the below code is just not working for me. Any help on what I am doing wrong? Also, how do I suppress the error messages if there is no file to load?
Bookmarks