+ Reply to Thread
Results 1 to 3 of 3

Excel VBA export to sharepoint

  1. #1
    Registered User
    Join Date
    07-24-2006
    Location
    Dublin, Ireland
    Posts
    44

    Excel VBA export to sharepoint

    hello team-

    the following VBA exports "myfile.xml" from within an excel file to "mydocuments" folder on my sharepoint server. It exports perfectly as long as there is no existing "myfile.xml" already in the destination folder. It produces an error where there is a previous incidence of "myfile.xml" already in the destination folder..


    Can somebody offer me some VBA to overwrite the previous instance of "myfile.xml" with the current file without prompting the user?


    I have read/write administrator rights on the sharepoint so it's not a rights access issue on sharepoint (I get the same error when trying to export to my local c:\ as well)


    Please Login or Register  to view this content.


    Please Login or Register  to view this content.

    Thanks Conor

  2. #2
    Registered User
    Join Date
    07-24-2006
    Location
    Dublin, Ireland
    Posts
    44
    sorry, code should read

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-24-2006
    Location
    Dublin, Ireland
    Posts
    44
    solved. the following syntax did the trick

    Please Login or Register  to view this content.

+ 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