+ Reply to Thread
Results 1 to 2 of 2

Copy sheets from one instance of Excel to another

  1. #1
    Registered User
    Join Date
    12-20-2008
    Location
    Arkansas
    MS-Off Ver
    2010
    Posts
    87

    Copy sheets from one instance of Excel to another

    Please Login or Register  to view this content.
    This is an abreviated code of what I'm doing. I use a "Master" spreadsheet to enter info and upload other sheets. After "cleaning" up the other sheets, I open a new instance of Excel with the code above. But I can't figure out how to copy/cut a sheet from the original and paste it to the new one. Since the two workbooks are in seperate instances of Excel, normal copy/paste functions won't work. The reason I need the new one is that I need a "clean" start, with no macros, in the new one. Writing/making entries into cells from the "master" macros is pretty straightforward and easy, however; copying sheets isn't.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Copy sheets from one instance of Excel to another

    Hi, Obfuscated,

    AFAIR you have to store the sheet as a workbook in a given folder with a given name and import from there or move from there. Your code should make sure that this temporary workbook is deleted after usage.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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