I’m trying to have a MsgBox open up with a text input in to enter a date. I took the code directly from Microsoft and I get the operand without operator error message. Below is my code. Can someone please help?
Dim StartDate As Date ‘ Declare variables. Dim Msg StartDate = InputBox(“Enter a date”) Msg = “Yield ” & DateDiff(“m”, StartDate, Now()) MsgBox Msg
Thank you to whoever can help!:confused: