Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Copying in VBA

I have a question and I would appreciate any tips. I have coded a
command button that allows for copying some data from one worksheet to
another. But when I go back to the worksheet copied from the range is
still selected for copying. How can I make sure my user doesn't see
this?

Thanks!
Julia

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Copying in VBA


Application.CutCopyMode = False

--

HTH

RP
(remove nothere from the email address if mailing direct)


wrote in message
oups.com...
I have a question and I would appreciate any tips. I have coded a
command button that allows for copying some data from one worksheet to
another. But when I go back to the worksheet copied from the range is
still selected for copying. How can I make sure my user doesn't see
this?

Thanks!
Julia



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default Copying in VBA

But when I go back to the worksheet copied from the range is
still selected for copying. How can I make sure my user doesn't see
this?


Add

Application.CutCopyMode=False

after the paste is done.

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com

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
Copying everything KRK New Users to Excel 4 November 18th 09 11:35 PM
copying the Hyperlink function result without copying the actual formula mcheng Excel Worksheet Functions 2 June 9th 07 02:43 AM
copying a row Excel Greenie[_2_] Excel Discussion (Misc queries) 1 May 21st 07 04:11 AM
Copying data down to next dirty cell, then copying that data slarson Excel Programming 0 September 15th 03 09:19 PM
Help with copying please. Don Guillett[_4_] Excel Programming 0 July 12th 03 02:55 PM


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