Results 1 to 6 of 6

Bypassing Runtime Error 1004

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-22-2008
    Location
    canada
    Posts
    123

    Bypassing Runtime Error 1004

    ChDir "C:\dir1"
    Workbooks.Open Filename:="C:\dir1\file1.xls"
    .....

    I need help on the above formula. I would like to add a condition such as IF file1.xls does not exist continue on the next line without getting the "Runtime Error 1004"

    Thank you.
    Last edited by janjan_376; 08-17-2009 at 03:01 PM.

Thread Information

Users Browsing this Thread

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

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