Hola :
I am new to this group so bear with me please :
I have a sheet that updates with each new days info, it has a cell with whatever that days date is- in it. I then have a weeks worth(Sunday, Monday etc) of sheets that I want to pull info from that first sheet BASED on the date. The problem is caused by the fact that I dont want the Formula to be overwritten if the dates do not match
This is the Code I have tried-
Private Sub FORMULA3()
If (Sunday!A1 = Now) Then
Range("C4"
.Formula = "=SUMIF(Calm!$N:$N,$B4,Calm!$I:$I)"
End If
End Sub
The error I get when I run my cursor over the highlighted portion of the code is - Sunday!A1 = <Object Required>
Next I tried-
Private Sub FORMULA3()
If Calm!A6 = Sunday!A1 Then
Range("C4"
.Formula = "=SUMIF(Calm!$N:$N,$B4,Calm!$I:$I)"
End If
End Sub
I got the same error but now- Sunday!A1 = <Object Required> Calm!A6 = <Object Required>
I tried taking out the space between the Equals sign, tried putting quotes, looked up in the help, looked up in books both Formulas for 2002 and Bible, tried asking my colleagues, searched for it on metacrawler........I don't know.
I really appreciate any help you can give. :
Thanks :
Sean
I am new to this group so bear with me please :
This is the Code I have tried-
Private Sub FORMULA3()
If (Sunday!A1 = Now) Then
Range("C4"
End If
End Sub
The error I get when I run my cursor over the highlighted portion of the code is - Sunday!A1 = <Object Required>
Next I tried-
Private Sub FORMULA3()
If Calm!A6 = Sunday!A1 Then
Range("C4"
End If
End Sub
I got the same error but now- Sunday!A1 = <Object Required> Calm!A6 = <Object Required>
I tried taking out the space between the Equals sign, tried putting quotes, looked up in the help, looked up in books both Formulas for 2002 and Bible, tried asking my colleagues, searched for it on metacrawler........I don't know.
I really appreciate any help you can give. :
Thanks :
Sean