Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Annoying clipboard message

Hi there,

I've got a VBA function behind a spreadsheet that searches for, opens,
copies, pastes certain data from one sheet into the master spreadsheet and
then closes. Unfortunately I still get the 'You've copied a large amount of
data to the clipboard do you want to make this available etc' message after
the file is closed.

How can I programatically stop this message from appearing - I don't want to
keep the data on the clipboard.

The part of the function that is relevant is
ActiveSheet.Paste
Workbooks("wBook1" & sName).Close SaveChanges:=False

Thanks in advance
Sion Smith
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Annoying clipboard message

Hi Sion,

Try:

ActiveSheet.Paste
Application.DisplayAlerts = False
Workbooks("wBook1" & sName).Close SaveChanges:=False
Application.DisplayAlerts = True


---
Regards,
Norman



"Sion Smith" wrote in message
...
Hi there,

I've got a VBA function behind a spreadsheet that searches for, opens,
copies, pastes certain data from one sheet into the master spreadsheet and
then closes. Unfortunately I still get the 'You've copied a large amount

of
data to the clipboard do you want to make this available etc' message

after
the file is closed.

How can I programatically stop this message from appearing - I don't want

to
keep the data on the clipboard.

The part of the function that is relevant is
ActiveSheet.Paste
Workbooks("wBook1" & sName).Close SaveChanges:=False

Thanks in advance
Sion Smith



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Annoying clipboard message

Thanks Norman, it worked perfectly
Sion

"Norman Jones" wrote:

Hi Sion,

Try:

ActiveSheet.Paste
Application.DisplayAlerts = False
Workbooks("wBook1" & sName).Close SaveChanges:=False
Application.DisplayAlerts = True


---
Regards,
Norman



"Sion Smith" wrote in message
...
Hi there,

I've got a VBA function behind a spreadsheet that searches for, opens,
copies, pastes certain data from one sheet into the master spreadsheet and
then closes. Unfortunately I still get the 'You've copied a large amount

of
data to the clipboard do you want to make this available etc' message

after
the file is closed.

How can I programatically stop this message from appearing - I don't want

to
keep the data on the clipboard.

The part of the function that is relevant is
ActiveSheet.Paste
Workbooks("wBook1" & sName).Close SaveChanges:=False

Thanks in advance
Sion Smith




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Message: 'Cannot empty clipboard' Terry Pinnell Excel Discussion (Misc queries) 2 May 27th 09 09:11 AM
How Do You Stop Annoying Excel Message Boxes? Colin Hayes Excel Worksheet Functions 36 January 14th 08 09:44 PM
excel links popup message - very annoying marsenal Excel Discussion (Misc queries) 3 August 16th 06 05:45 AM
Can I avoid annoying Update Links message phillyjoe Excel Discussion (Misc queries) 2 October 29th 05 03:00 PM
Clipboard Message Graham Haughs[_3_] Excel Programming 2 August 25th 04 08:45 AM


All times are GMT +1. The time now is 02:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"