+ Reply to Thread
Results 1 to 1 of 1

Uploading PDF with FTP using VBA

Hybrid View

  1. #1
    Registered User
    Join Date
    02-24-2012
    Location
    Hellevoetsluis, the Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    1

    Uploading PDF with FTP using VBA

    Hello,
    I'm using a macro to make a PDF from a Excel sheet or selection. So far, so good. Now i want the PDF to go to a internet adress and i also want to do that by using a macro. But i have no idea how to do it. Someone told me to do it like this:

        ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
            "ftp://ftp.mysite.nl/httpdocs/test.pdf", _
            Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
            :=False, OpenAfterPublish:=False
    But it's not working

    enyone?


    Moderator Edit:

    Welcome to the forum, bpenn.

    Please notice that [CODE] tags have been added to your post. The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at the top of the page and read Rule #3.
    Thanks.
    Last edited by Cutter; 10-27-2012 at 03:19 PM. Reason: Added code tags

+ 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