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: 21
Default Adding Sub code in Function module

On Apr 3, 4:12*pm, jasontferrell wrote:
Ahhh, try this:
Private Sub Worksheet_Change(ByVal Target As Range)
* * If Not Intersect(Range("O:O"), Target) Is Nothing Then
* * * * If LCase(Target.Value) = "y" Then
* * * * * * Target.Offset(0, 2).Value = Date
* * * * End If
* * End If
End Sub

It needs to go into the code module specific to the sheet on which you
want the functionality. *(VBAProject-Microsoft Excel Objects-Sheet1,
for example).


EXCELLENT
This is what I was looking for.
Many thanks
j.o.
 
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
VBA code in one Module referencing Public Variables Declared inanother Module failing Khurram Excel Programming 5 March 11th 09 11:01 PM
Trouble Adding VBA Code to Module; Bug in Excel/VBE? Mat P:son Excel Programming 4 April 20th 06 04:17 PM
How 2 Execute Sheet1 Button_Click Code from a module function sparker Excel Programming 3 June 22nd 05 11:17 PM
Adding Code to the This_workbook module of a created workbook RPIJG[_68_] Excel Programming 1 July 9th 04 06:35 PM
Adding Code Module to Workbook Charles Excel Programming 2 January 6th 04 08:43 AM


All times are GMT +1. The time now is 01:59 PM.

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"