+ Reply to Thread
Results 1 to 2 of 2

VBA Open FilePath from FTP location - Excel 2016 error

  1. #1
    Registered User
    Join Date
    03-09-2017
    Location
    Denver, USA
    MS-Off Ver
    2013
    Posts
    2

    Question VBA Open FilePath from FTP location - Excel 2016 error

    Hi,

    I use Excel 2013 and have some VBA code to open up and copy data from an excel file on a FTP site. It works flawlessly in Excel 2013, however every time I try this on a computer with Excel 2016 the program closes and open a new sheet. I've identified the line of code which causes this to happen but am having trouble identifying how to make it work with Excel 2016.

    The line of code where it fails in 2016 is:
    Set RawWB = Workbooks.Open(Filename:=FilePath, ReadOnly:=True)

    I've verified that the user is able to open file on the FTP site so there is no FTP issue.

    Thanks!

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    03-09-2017
    Location
    Denver, USA
    MS-Off Ver
    2013
    Posts
    2

    Re: VBA Open FilePath from FTP location - Excel 2016 error

    Thoughts on this?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel 2016 Hyperlinks Won't Open
    By drew.lewis.rtr in forum Excel General
    Replies: 4
    Last Post: 08-17-2017, 12:25 AM
  2. Excel 2016 Mac - Open File Macro
    By DylanM in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-10-2016, 08:53 AM
  3. Replies: 1
    Last Post: 08-24-2016, 03:55 AM
  4. Mac excel 2016, vba copy file from one location to sandbox location
    By sujithy007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2016, 12:01 PM
  5. Replies: 2
    Last Post: 02-21-2016, 03:33 AM
  6. Replies: 0
    Last Post: 04-14-2014, 02:12 AM
  7. [SOLVED] Trying to get the filepath on "Open", but get filepath of a temporary file instead
    By ianpwilliams in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-22-2013, 12:27 AM

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