+ Reply to Thread
Results 1 to 5 of 5

Save copy as, open copy, alter copy, save copy and close copy

  1. #1
    Registered User
    Join Date
    01-29-2013
    Location
    texas
    MS-Off Ver
    Excel 2010
    Posts
    68

    Save copy as, open copy, alter copy, save copy and close copy

    Hi all,

    I'm trying to save a renamed copy of the workbook, open the new workbook, delete the contents of some columns in the new workbook and other operations, then save and close the new workbook.

    I have this code so far. It successfully saves a renamed workbook and opens it, but then I get a "not responding" and I have to shut down excel.


    Please Login or Register  to view this content.
    as always any help appreciated.

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Save copy as, open copy, alter copy, save copy and close copy

    Reading your code I can't see that you are closing the renamed workbook and then you try to open it again? could that be the problem?

    Alf

  3. #3
    Registered User
    Join Date
    01-29-2013
    Location
    texas
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Save copy as, open copy, alter copy, save copy and close copy

    I thought I was just saving a renamed copy, so you're saying I need to close it and then re-open?

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Save copy as, open copy, alter copy, save copy and close copy

    Sorry my bad in Excel 2003 you can't have to files with the same name open but testing Excel 2010 it's posible to do so i.e. open the same file twice

    Alf
    Last edited by Alf; 04-03-2013 at 04:31 PM.

  5. #5
    Registered User
    Join Date
    01-29-2013
    Location
    texas
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Save copy as, open copy, alter copy, save copy and close copy

    They wouldn't be the same name.

+ 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