Hi All,
This community has been a big help after my first post, and now I need some assistance with a function I've been trying to solve (I'm losing hair).
I have a sheet with a few tabs, 'MMenu,' and 'Calendar,' and a macro called 'Fourfivedays.' I want this this macro to trigger in 'Calendar' when I change a date value in a cell in 'MMenu.'
I've tried the basic commands in VBA for 'MMenu,' but I have a feeling this needs to ref the sheet 'Calendar' Somehow. The date cell is E6 and so I tried this,
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$E$6" Then
With Worksheets ("Calendar")
Call Fourfivedays
End With
End If
End Sub
Perhaps I'm waaay off the mark, I've googled for answers and looked in here too but I can't find one. The code seems to be accepted okay but nothing happens. Your help is most appreciated.
Thanks,
Simon
This community has been a big help after my first post, and now I need some assistance with a function I've been trying to solve (I'm losing hair).
I have a sheet with a few tabs, 'MMenu,' and 'Calendar,' and a macro called 'Fourfivedays.' I want this this macro to trigger in 'Calendar' when I change a date value in a cell in 'MMenu.'
I've tried the basic commands in VBA for 'MMenu,' but I have a feeling this needs to ref the sheet 'Calendar' Somehow. The date cell is E6 and so I tried this,
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$E$6" Then
With Worksheets ("Calendar")
Call Fourfivedays
End With
End If
End Sub
Perhaps I'm waaay off the mark, I've googled for answers and looked in here too but I can't find one. The code seems to be accepted okay but nothing happens. Your help is most appreciated.
Thanks,
Simon