+ Reply to Thread
Results 1 to 10 of 10

Save as and checkin other file

  1. #1
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Save as and checkin other file

    How can i run a marco to save as a file and checkin the "old/other" file?

    The name of the other file can vary because of the person how saves it.

  2. #2
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Save as and checkin other file

    i tried
    Please Login or Register  to view this content.
    But this doesn't work.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Save as and checkin other file

    Define "doesn't work".

    Please don't 'drip feed' information - declare everything at the start in your opening post in future. Thanks.
    Last edited by AliGW; 01-11-2022 at 07:27 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Save as and checkin other file

    I get the error 9 in the line
    Please Login or Register  to view this content.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Save as and checkin other file

    What error???

    Please give specific detail.

  6. #6
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Save as and checkin other file

    Run-time error '9':
    Subscript out of range

  7. #7
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Save as and checkin other file


    Hi,

    according to the initial post if you need to keep the original workbook as it is under the active Excel session
    so you should better use SaveCopyAs rather than SaveAs method …

  8. #8
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Save as and checkin other file

    But SaveCopyAs on sharepont doesn't work.

  9. #9
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Save as and checkin other file


    According to your issue you must use the workbook property FullName rather than Path ! Just reading VBA help …

  10. #10
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Save as and checkin other file

    I used full name, but when VBA saveas a file it closes the original. Then i have to reopen the original before VBA can CheckIn the file. That is a slow long progress.

+ 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. checkin form to guestlist
    By wesley5479 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-25-2020, 01:51 PM
  2. calculate vacant dates with checkin & out data
    By ravi_bvr in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-20-2018, 02:50 PM
  3. [SOLVED] Error checkin/copy comments
    By IvanJames in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-10-2014, 04:15 PM
  4. [SOLVED] Method 'CheckIn' of object '_workbook' failed
    By Bill Schanks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2014, 11:03 AM
  5. Replies: 1
    Last Post: 09-05-2013, 02:39 PM
  6. outlook like excel re: checkin
    By LiLi1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-08-2011, 04:22 PM
  7. Help with Barcodes and Checkin
    By getablackdogupya in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-10-2011, 12:03 AM

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