Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Question about an event

I would like to run my script automatic when a value from one off my
collums changes. Can anyone help me out, cause im kinda stuck here.

Thanks in advance,

Joost Knol


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default Question about an event

Hi Joost,

I would like to run my script automatic when a value from one off my
collums changes. Can anyone help me out, cause im kinda stuck here.


Check out the Worksheet_Change event:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Me.Range("A1:B10")) Is Nothing Then Exit Sub
MsgBox "Your code"
End Sub

Rightclick a sheet tab, choose View code and paste and modify the code
above.

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Question about an event

Thanks it worked :D


---
Message posted from http://www.ExcelForum.com/

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
Quick VBA Worksheet Change Event or Selection Question: Damil4real Excel Worksheet Functions 6 November 17th 09 10:28 PM
question on button event JohnE Excel Programming 2 October 30th 03 04:28 AM
Workbook_Open event and combobox state storage question jw Excel Programming 0 October 23rd 03 12:44 AM
Worksheet_Change event question marwan hefnawy Excel Programming 1 September 10th 03 08:53 PM
Event Question bwilcox Excel Programming 1 July 21st 03 02:37 PM


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