+ Reply to Thread
Results 1 to 3 of 3

Macros and large clipboard error

  1. #1
    Registered User
    Join Date
    08-01-2006
    Posts
    3

    Question Macros and large clipboard error

    I have written a macro that copies info from 10 other workbooks and pastes that into one workbook (consolidating, but including the individual worksheets). In the macro, I close each workbook after doing the copying and pasting and click on the "No" when I get the question "do I want to keep the large amount in the clipboard". However, when I run the macro, it stops at that point until I have done a manual click and then continues. How can I automate this?

    Sarah

  2. #2
    Tom Ogilvy
    Guest

    Re: Macros and large clipboard error

    before you get to that point

    Application.CutCopyMode = False

    clears the clipboard.

    or

    Application.Displayalerts = False
    ' code the closes the workbook
    Application.DisplayAlerts = True

    --
    Regards,
    Tom Ogilvy

    "Sarahds" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have written a macro that copies info from 10 other workbooks and
    > pastes that into one workbook (consolidating, but including the
    > individual worksheets). In the macro, I close each workbook after
    > doing the copying and pasting and click on the "No" when I get the
    > question "do I want to keep the large amount in the clipboard".
    > However, when I run the macro, it stops at that point until I have done
    > a manual click and then continues. How can I automate this?
    >
    > Sarah
    >
    >
    > --
    > Sarahds
    > ------------------------------------------------------------------------
    > Sarahds's Profile:
    > http://www.excelforum.com/member.php...o&userid=37005
    > View this thread: http://www.excelforum.com/showthread...hreadid=567292
    >




  3. #3
    Registered User
    Join Date
    08-01-2006
    Posts
    3

    Smile Thanks!

    Thanks for the info Tom
    Sarahds
    Sydney
    Australia

+ 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