+ Reply to Thread
Results 1 to 6 of 6

Save As [to disk and to SharePoint not working]

  1. #1
    Registered User
    Join Date
    02-10-2017
    Location
    IRAQ
    MS-Off Ver
    2016
    Posts
    37

    Save As [to disk and to SharePoint not working]

    hello guys

    Dose any one can help to know how many ways that we can use
    Please Login or Register  to view this content.
    and how we can use it ?

    also I have two examples it didn't work with me I don't know why I wish if anyone could help me to correct it

    1-
    Please Login or Register  to view this content.
    example 2

    Please Login or Register  to view this content.

    in the second example I want to save the extract copied sheet from my main workbook in link that been named in wbNam


    waiting the answers from you guys

  2. #2
    Registered User
    Join Date
    02-10-2017
    Location
    IRAQ
    MS-Off Ver
    2016
    Posts
    37

    Re: Save As

    any one ????

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,758

    Re: Save As

    Your declarations for wb and wb2 are incorrect. They need to be like this:
    Please Login or Register  to view this content.
    In your first example, you are saving to a folder on the desktop called "BGC Production Database". If there is no folder by this name already, this will fail.

    For your second example, I do not have experience saving files to a SharePoint site by using a URL. However, this page seems to show that this is possible but with a different syntax in the address.

    In both cases, what does "it didn't work with me" mean?
    • Does the code run?
    • Does it run but do nothing?
    • Does it produce error messages? If so, what do the messages say?
    • Does it produce unexpected/wrong results?
    • Does it hang?
    Last edited by 6StringJazzer; 02-14-2017 at 12:36 PM.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,758

    Re: Save As

    Quote Originally Posted by alaboudy View Post
    any one ????
    I suggest you wait a little longer before bumping your thread. You waited less than 1 hour. That's not very long. Some people look for threads to answer by reviewing "unanswered threads" and if you bump your own thread, you take it off that list.

  5. #5
    Registered User
    Join Date
    02-10-2017
    Location
    IRAQ
    MS-Off Ver
    2016
    Posts
    37

    Re: Save As

    Quote Originally Posted by 6StringJazzer View Post
    I suggest you wait a little longer before bumping your thread. You waited less than 1 hour. That's not very long. Some people look for threads to answer by reviewing "unanswered threads" and if you bump your own thread, you take it off that list.
    sorry man I was in hurry

  6. #6
    Registered User
    Join Date
    02-10-2017
    Location
    IRAQ
    MS-Off Ver
    2016
    Posts
    37

    Re: Save As

    Quote Originally Posted by 6StringJazzer View Post
    Your declarations for wb and wb2 are incorrect. They need to be like this:
    Please Login or Register  to view this content.
    In your first example, you are saving to a folder on the desktop called "BGC Production Database". If there is no folder by this name already, this will fail.

    For your second example, I do not have experience saving files to a SharePoint site by using a URL. However, this page seems to show that this is possible but with a different syntax in the address.

    In both cases, what does "it didn't work with me" mean?
    • Does the code run?
    • Does it run but do nothing?
    • Does it produce error messages? If so, what do the messages say?
    • Does it produce unexpected/wrong results?
    • Does it hang?
    I found the the error in the first example when I change the sharepoint link to different path it work so looks like I am missing something in that path work now to fix it
    thanks for your replay dude
    Last edited by alaboudy; 02-14-2017 at 03:04 PM.

+ 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. Issue with VBA Save Email to Hard Disk Processing Slow
    By gingank in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-09-2015, 04:41 AM
  2. Replies: 6
    Last Post: 04-15-2014, 12:39 PM
  3. [SOLVED] Computer freezes when i save excel file to floppy disk.
    By Christy in forum Excel General
    Replies: 8
    Last Post: 08-08-2006, 05:25 PM
  4. [SOLVED] VBA to save a web page to local disk
    By Ron in forum Excel General
    Replies: 0
    Last Post: 04-26-2006, 12:40 PM
  5. Replies: 2
    Last Post: 03-09-2006, 04:20 PM
  6. Replies: 0
    Last Post: 08-13-2005, 12:05 PM
  7. [SOLVED] How do I save an excel folder to disk?
    By Cookie in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 02-23-2005, 07:06 PM

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