+ Reply to Thread
Results 1 to 2 of 2

Download of the file from macro

  1. #1
    John Elink
    Guest

    Download of the file from macro

    Hi there

    I can start the download of the file using the Workbook.Open
    Workbooks.Open "ftp://ftp.my.com/1.zip"

    However, how can I handle the error message in the case that the file
    I am looking for (1.zip) does not exist?
    Thanks a lot

    Cheers
    Johny

  2. #2
    Tom Ogilvy
    Guest

    Re: Download of the file from macro

    On Error Resume Next

    Workbooks.Open "ftp://ftp.my.com/1.zip"

    On Error goto 0

    --
    Regards,
    Tom Ogilvy

    "John Elink" <[email protected]> wrote in message
    news:[email protected]...
    > Hi there
    >
    > I can start the download of the file using the Workbook.Open
    > Workbooks.Open "ftp://ftp.my.com/1.zip"
    >
    > However, how can I handle the error message in the case that the file
    > I am looking for (1.zip) does not exist?
    > Thanks a lot
    >
    > Cheers
    > Johny




+ Reply to Thread

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