Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old November 29th 04, 11:05 AM
jamessinc
 
Posts: n/a
Default Item in clipboard

I have a macro that will open a file and copy a range to another file. Then
I will close the file I copied the range from but I am asked if I wish to
clear the clipboard after each copy. How do I stop the clipboard request
from stoping the macro?

Thanks
Jim

  #2   Report Post  
Old November 29th 04, 11:47 AM
Frank Kabel
 
Posts: n/a
Default

Hi
try
application.displayalerts=false
'close the file
application.displayalerts=true

"jamessinc" wrote:

I have a macro that will open a file and copy a range to another file. Then
I will close the file I copied the range from but I am asked if I wish to
clear the clipboard after each copy. How do I stop the clipboard request
from stoping the macro?

Thanks
Jim

  #3   Report Post  
Old November 29th 04, 05:09 PM
Gord Dibben
 
Posts: n/a
Default

Jim

After the copy and paste is complete and before you close the file add this
line

Application.CutCopymode = False

Gord Dibben Excel MVP

On Mon, 29 Nov 2004 03:05:02 -0800, jamessinc
wrote:

I have a macro that will open a file and copy a range to another file. Then
I will close the file I copied the range from but I am asked if I wish to
clear the clipboard after each copy. How do I stop the clipboard request
from stoping the macro?

Thanks
Jim




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
Item wise balance in Pivot Table Samad Excel Discussion (Misc queries) 3 January 10th 05 06:43 PM
Item wise balance in Pivot Table Samad Excel Discussion (Misc queries) 0 January 8th 05 11:15 AM
Can't copy without clipboard open Bill Williams Excel Discussion (Misc queries) 0 January 4th 05 04:41 PM
How do I use a" item description" in excel to consolidate totals? D Excel Discussion (Misc queries) 1 December 7th 04 04:06 PM
XML Source Menu Item disabled?? File version?? Jay Lauffer Excel Discussion (Misc queries) 1 December 3rd 04 10:23 PM


All times are GMT +1. The time now is 01:33 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017