ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Adding Sub code in Function module (https://www.excelbanter.com/excel-programming/426492-re-adding-sub-code-function-module.html)

[email protected]

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.


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com