Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gap Gap is offline
external usenet poster
 
Posts: 15
Default Format Painter and Worksheet Change Event

Hello,

Why does Applying Formats to a Cell using the Format Painter raise the
Worksheet_Change event whereas regular formatting of Cell does not?
Doesn't seem consistent.

Is there a way to detect that the Change was not actually a cell value
change when using the Format Painter?

Thank you

Gap.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default Format Painter and Worksheet Change Event

"Gap" wrote in message
oups.com...
Why does Applying Formats to a Cell using the Format Painter raise the
Worksheet_Change event whereas regular formatting of Cell does not?
Doesn't seem consistent.

Is there a way to detect that the Change was not actually a cell value
change when using the Format Painter?


Hi Gap,

The format painter just copies the range you're one when you click it
and then automatically does a Paste Special/Formats on the next range you
select. Doing any kind of Paste fires the Worksheet_Change event on the
worksheet where it occurred. I don't know of any simple way to determine
wither a cell value actually changed or whether something like a Paste
Special/Formats fired the event.

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm


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
Trigger Event on Format Change Zone[_3_] Excel Discussion (Misc queries) 4 August 25th 07 05:43 PM
Worksheet Change event DoctorG Excel Discussion (Misc queries) 4 February 15th 06 12:53 PM
Worksheet Change Event DCSwearingen Excel Discussion (Misc queries) 1 October 10th 05 10:25 PM
Worksheet Change event Libby Excel Programming 2 October 26th 04 12:02 AM
Change Cell from Validated List Not Firing Worksheet Change Event [email protected] Excel Programming 3 October 4th 04 03:00 AM


All times are GMT +1. The time now is 07:55 AM.

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"