J
Janis
JE McGimpsey gave me this macro. I would like to test the value in the
variable to make sure I have it stored before I delete the row. I'm trying
to figure out how to use the "immediate window" debugger. How do you print
out the value of the varible I just stuffed? I get an invalid qualifier on
the debugger line.
thanks,
Private Sub deleteDateRow1()
'
' deleteDateRow1 Macro
Dim FrReptDate As Date
With Range("A1")
FrReptDate = .Value
.EntireRow.Delete Shift:=xlUp
End With
Debug.Print FrReptDate.Text
End Sub
variable to make sure I have it stored before I delete the row. I'm trying
to figure out how to use the "immediate window" debugger. How do you print
out the value of the varible I just stuffed? I get an invalid qualifier on
the debugger line.
thanks,
Private Sub deleteDateRow1()
'
' deleteDateRow1 Macro
Dim FrReptDate As Date
With Range("A1")
FrReptDate = .Value
.EntireRow.Delete Shift:=xlUp
End With
Debug.Print FrReptDate.Text
End Sub