+ Reply to Thread
Results 1 to 2 of 2

Sharepoint Macro Doesn't Return Error(s)

  1. #1
    Registered User
    Join Date
    11-06-2013
    Location
    Phoenix, az
    MS-Off Ver
    Excel 2013
    Posts
    26

    Sharepoint Macro Doesn't Return Error(s)

    I found some code that allows our office to send files to SharePoint (see below). For the most part it works just fine. However if an error occurs with Sharepoint, like the wrong password was supplied, we get no indication and the macro continues to run. It's not until we actually go to Sharepoint and look through the folders do we find that nothing was ever uploaded.

    Is there any way to either reverse this code so it can read the files back from Sharepoint after completion OR incorporate some type of error response from Sharepoint as each file is sent?

    The code used to send files up is as follows (and it works):

    Please Login or Register  to view this content.
    Last edited by Bukovnik; 02-17-2014 at 06:29 PM. Reason: Correct posting mistakes. Sorry!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Sharepoint Macro Help!

    Bukovnik --Double Issues. Please read our rules and comply with them. Firstly, fix the issues noted below. A link to the rules can be found at the top of the forum.


    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Opening SharePoint file with VBA - disable SharePoint "Contacting the server" message
    By kopite2002 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2013, 01:56 AM
  2. Replies: 0
    Last Post: 10-08-2013, 10:54 AM
  3. macro to save to sharepoint
    By vthokie2010 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2011, 05:00 PM
  4. vb script to run macro in Sharepoint
    By smhelp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-21-2011, 02:55 PM
  5. saving to sharepoint using macro
    By smakatura in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-28-2011, 11:07 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