+ Reply to Thread
Results 1 to 4 of 4

Issue with Open, copy, close Macro - when trying to close workbook Clipboard error

  1. #1
    Registered User
    Join Date
    12-26-2012
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    24

    Issue with Open, copy, close Macro - when trying to close workbook Clipboard error

    So basically I have the code doing what I want it to, but I really want to close, or better yet not open at all, the workbook I'm copying from to close after I copy the data. The issues I run into are 1.when trying to close I get a saving prompt 2. after I entered code to suppress that I get a clipboard has a large amount of data prompt and if I try to suppress that, the paste code fails.



    Please Login or Register  to view this content.
    Any help would be greatly appreciated... and like I said if there is a way to not even have to activate the sheet and just do the copying in the background, that would be even better!!!!

    Thanks!!!
    Sean

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Issue with Open, copy, close Macro - when trying to close workbook Clipboard error

    Untested, but something like:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-26-2012
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Issue with Open, copy, close Macro - when trying to close workbook Clipboard error

    Works perfectly thanks so much!!!!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Issue with Open, copy, close Macro - when trying to close workbook Clipboard error

    You're welcome. Thanks for the rep.

+ 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. Copy from first workbook, close open new workbook paste close
    By johncarr1952 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-04-2021, 08:50 AM
  2. [SOLVED] Copy data from open to close workbook
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-17-2015, 08:04 PM
  3. Macro Workbook Close Issue
    By JulioPR in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2014, 12:33 PM
  4. Replies: 13
    Last Post: 11-29-2012, 08:25 PM
  5. Open workbook, copy data, save and close error
    By Jessica.Bush in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-01-2012, 12:59 PM
  6. macro - workbook on close issue
    By jw01 in forum Excel General
    Replies: 3
    Last Post: 01-06-2011, 02:38 AM
  7. Workbook open, copy and close - Help
    By momossy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2010, 08:36 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