|
-
Mar 15th, 2009, 08:52 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Worksheet_Change Event
Hi, how to access to the worksheet_change event on my current worksheet?
thanks in advance..i'm using office 2k3
i want to put a code like this:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
'code place in here
End Sub
-
Mar 15th, 2009, 09:00 PM
#2
Junior Member
Re: Worksheet_Change Event
If you are asking about how to go to the code window.
1. Hit 'Alt F11'
2. On the left hand side, double click on the sheet that you would like to associate the code with
3. There are two drop downs on the new window. One of them (the left one) will say '(General)' the other (on the right) will say '(Declaration)'. Change the one on the left from 'General' to 'Worksheet'.
Hope this helps good luck
-
Mar 15th, 2009, 11:07 PM
#3
Thread Starter
Addicted Member
Re: Worksheet_Change Event
thanks Akos for the response..but it's not the one...i want to know where to place the code in post #1..
the General option on the left I can't find the worksheet option nor change it to worksheet also...
-
Mar 16th, 2009, 12:50 AM
#4
Re: Worksheet_Change Event
See the picture and follow these steps
1) Double Click the Worksheet to access the code area.
2) Select 'Worksheet' instead of 'General'
3) Select the 'Change' event after that
4) Place your code
Hope this is what you wanted?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Mar 16th, 2009, 12:53 AM
#5
Thread Starter
Addicted Member
Re: Worksheet_Change Event
thanks Koolsid, thanks Akos...yup..probem solved... there's another way to do it also..right click the name of the worksheet ("sheet1") then choose "view code"
-
Mar 16th, 2009, 01:05 AM
#6
Re: [RESOLVED] Worksheet_Change Event
No offense meant but giving you that shortcut was the next step. You need to first understand the basics of it....
You got a shortcut in post 2 but it didn't help and hence those snapshots in post 4. 
Glad it is resolved
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|