Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default turning off pop up message

Hello all,

The app I'm writing for my wife's office copies a worksheet of 'master
data' into the local workbook that's running the code. Once copied, I
close the 'master data' workbook. The code works as desired, except
that I get a message telling me there's "a large amount of info on the
clipboard. Do you want to be able to paste it..."

I've turned off what I can (application.displayalerts = false), but
that's obviously not eliminating this message.

It doesn't affect the functionality or execution of the app, but it
would certainly be less intrusive on the user if I could get this to
go away.

Suggestions?

Art
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default turning off pop up message

Application.CutCopyMode = False

Place in your code after the copy operation.


Gord Dibben MS Excel MVP

On Thu, 20 Aug 2009 18:32:44 -0700 (PDT), c1802362 wrote:

Hello all,

The app I'm writing for my wife's office copies a worksheet of 'master
data' into the local workbook that's running the code. Once copied, I
close the 'master data' workbook. The code works as desired, except
that I get a message telling me there's "a large amount of info on the
clipboard. Do you want to be able to paste it..."

I've turned off what I can (application.displayalerts = false), but
that's obviously not eliminating this message.

It doesn't affect the functionality or execution of the app, but it
would certainly be less intrusive on the user if I could get this to
go away.

Suggestions?

Art


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default turning off pop up message

Gord,

with the line of code you suggested, the sheet is created, but no data
is copied to the sheet. I tried it a bunch of ways and its always the
same.

any other suggestions?

Art


On Aug 20, 10:03*pm, Gord Dibben <gorddibbATshawDOTca wrote:
Application.CutCopyMode = False

Place in your code after the copy operation.

Gord Dibben *MS Excel MVP


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default turning off pop up message

I should have said after the "paste" operation.

My apologies.


Gord

On Thu, 20 Aug 2009 19:43:12 -0700 (PDT), c1802362 wrote:

Gord,

with the line of code you suggested, the sheet is created, but no data
is copied to the sheet. I tried it a bunch of ways and its always the
same.

any other suggestions?

Art


On Aug 20, 10:03*pm, Gord Dibben <gorddibbATshawDOTca wrote:
Application.CutCopyMode = False

Place in your code after the copy operation.

Gord Dibben *MS Excel MVP



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default turning off pop up message

On Aug 21, 3:59*pm, Gord Dibben <gorddibbATshawDOTca wrote:
I should have said after the "paste" operation.

My apologies.

Gord

Gord,

No problem. Everything works fine after the right line goes in the
right place. After I had unsuccessfully tried to put the cutcopymode
line after the copy operation, I decided to be a bit crude and added
Range("A1").Copy right after the paste, which had the effect of
reducing the large clipboard to one cell - which would eliminate the
pop up

Thanks!

Art

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
Turning off this message? Terry Pinnell[_2_] Excel Discussion (Misc queries) 2 September 6th 11 03:45 PM
Turning of merge warning message David P. Excel Discussion (Misc queries) 1 December 31st 05 01:33 AM
Turning off merge message David P. Excel Discussion (Misc queries) 5 December 30th 05 06:42 PM
turning off trace dependents error message D Griffith Setting up and Configuration of Excel 0 May 3rd 05 05:51 PM
How? - Error message for turning off autofilter with code ryssa[_4_] Excel Programming 2 June 30th 04 10:12 AM


All times are GMT +1. The time now is 08:55 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"