Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Worksheet_Change Event

Good morning all!

I have read several posts about the Worksheet_Change Event and I need to
adapt this into my code. However, I hate to put code in that I don't
understand and for some reason I am having a difficult time figuring out how
this works. Can anyone give me a quick rundown on how to use this code?!?!

Thank you!!!
--
I am not where I intended to go, but I think I am where I am supposed to be!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Worksheet_Change Event

See:

http://www.cpearson.com/excel/Events.aspx
--
Gary''s Student - gsnu200753


"thewizz" wrote:

Good morning all!

I have read several posts about the Worksheet_Change Event and I need to
adapt this into my code. However, I hate to put code in that I don't
understand and for some reason I am having a difficult time figuring out how
this works. Can anyone give me a quick rundown on how to use this code?!?!

Thank you!!!
--
I am not where I intended to go, but I think I am where I am supposed to be!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Worksheet_Change Event

Anytime a change is made to the worksheets, whatever code you have will run.
Private Sub Worksheet_Change(ByVal Target As Range)
MsgBox "hi"

End Sub

this for example will show you what is happening, put it in and commence to
typing in the cells.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"thewizz" wrote:

Good morning all!

I have read several posts about the Worksheet_Change Event and I need to
adapt this into my code. However, I hate to put code in that I don't
understand and for some reason I am having a difficult time figuring out how
this works. Can anyone give me a quick rundown on how to use this code?!?!

Thank you!!!
--
I am not where I intended to go, but I think I am where I am supposed to be!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Worksheet_Change Event

To see a little more of the capabilities pop these in there and give it a look
MsgBox Target
MsgBox Target.Address

Those give you an idea of what you can do, see what someone typed and/or
where they typed it. you can monitor changes or use an offset to put a
timestamp etc.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"thewizz" wrote:

Good morning all!

I have read several posts about the Worksheet_Change Event and I need to
adapt this into my code. However, I hate to put code in that I don't
understand and for some reason I am having a difficult time figuring out how
this works. Can anyone give me a quick rundown on how to use this code?!?!

Thank you!!!
--
I am not where I intended to go, but I think I am where I am supposed to be!

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Worksheet_Change Event

Thanks John and Gary, I figured it out after I made the post! I just didn't
give my little brain enough time to let the squirle get the wheel going fast
enough! :)

Anyway, Thanks agian for your help!

--
I am not where I intended to go, but I think I am where I am supposed to be!


"John Bundy" wrote:

To see a little more of the capabilities pop these in there and give it a look
MsgBox Target
MsgBox Target.Address

Those give you an idea of what you can do, see what someone typed and/or
where they typed it. you can monitor changes or use an offset to put a
timestamp etc.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"thewizz" wrote:

Good morning all!

I have read several posts about the Worksheet_Change Event and I need to
adapt this into my code. However, I hate to put code in that I don't
understand and for some reason I am having a difficult time figuring out how
this works. Can anyone give me a quick rundown on how to use this code?!?!

Thank you!!!
--
I am not where I intended to go, but I think I am where I am supposed to be!

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
How do I change a Worksheet_change event to a beforesave event? Tueanker Excel Programming 5 June 29th 07 03:00 PM
Worksheet_Change event Tom Ogilvy Excel Programming 1 January 24th 07 06:56 PM
Worksheet_change event Dwayne Smith Excel Programming 2 June 5th 04 03:25 AM
Worksheet_Change Event cmcfalls[_4_] Excel Programming 3 April 12th 04 09:47 PM
Worksheet_Change Event Sam Excel Programming 2 November 21st 03 06:51 PM


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