Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    May 2003
    Location
    Baltimore, Maryland, USA
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    suppress prompt on close (Excel 2003)

    I have written VBA macro which copies a substantial amount of data to the clipboard. When I close the workbook I am prompted to keep/delete the data from the clipboard. Is there a way to suppress this prompt?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: suppress prompt on close (Excel 2003)

    Insert the line
    <code>
    Application.CutCopyMode = False
    </code>
    above the line that closes the workbook.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •