LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default cancelling copy command after reactivating workbook

I have a range on a worksheet that will be getting emailed to the same
company frequently. I currently have the following code to copy the range so
the user can just paste it into the email and just hit "send":

ThisWorkbook.Worksheets("Schedule Sheet").Range("LMPLAN").Copy

Upon returning to the worksheet, I would like the blinking copy command to
automatically go away.

I'm thinking I need to write something like this:

If ThisWorkbook.activate = True,
then Application.CutCopyMode = False

But that evidentally isn't the proper code. What would be the proper way to
write this code?

Also, is there any way to add code to automatically open our email (We use
Lotus Notes) so the user can just paste the data?

Thanks!!

--
Patti
 
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
Cancelling Cell Selection using ctrl + click Robin R Excel Discussion (Misc queries) 3 December 2nd 07 12:34 AM
right hand shift key in exel 2003 after 8 seconds--cancelling? Derek.C Excel Discussion (Misc queries) 1 September 2nd 06 10:26 AM
Cancelling out of an incorrect Replace all [email protected] Excel Discussion (Misc queries) 2 July 11th 06 12:13 PM
Automate copy command cwilliams Excel Discussion (Misc queries) 0 April 5th 05 06:47 PM
Cancelling shortcut ctrl-click which opens "Research" in Excel 200 thebear Excel Discussion (Misc queries) 1 December 1st 04 08:55 PM


All times are GMT +1. The time now is 07:24 PM.

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

About Us

"It's about Microsoft Excel"