LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Paste event


Is there a way to capture the event of Pasting (or Dragging and
Dropping) something into a worksheet? I'd like to intercept such
events and make sure that only values are pasted, so the user doesn't
inadvertently muck up the formatting of the worksheet.

Or would it be better to write a macro to restore the original
formatting after the fact? (That would be long and tedius.)

I've found a BeforeDropOrPaste event, but I can't find any examples of
how to use it and it seems rather nontrivial.

-dlh


--
dlh
------------------------------------------------------------------------
dlh's Profile: http://www.excelforum.com/member.php...o&userid=26113
View this thread: http://www.excelforum.com/showthread...hreadid=476339

 
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
event macros vs copy/paste Dave Excel Worksheet Functions 2 November 17th 08 02:36 AM
Paste Event No Name Excel Programming 4 March 18th 05 10:45 PM
capture paste event into a cell No Name Excel Programming 3 January 30th 04 07:24 PM
Event Raised by Paste Special + Link cduden Excel Programming 1 January 15th 04 06:50 PM
Worksheet_Change Event - Macro kills copy and paste Alan Excel Programming 5 September 23rd 03 02:58 AM


All times are GMT +1. The time now is 11:23 AM.

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"