+ Reply to Thread
Results 1 to 1 of 1

Need help with a loop statement to open html files

  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need help with a loop statement to open html files

    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?

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 01-22-2013 at 12:45 AM. Reason: Added code tags, as per forum rules. Don't forget!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1