I have the following code:
Option Compare Database
Global theDate As String
Public Sub GetDate()
theDate = InputBox("Enter Volume Date YYYYMM")
mymonth = Right(theDate, 2)
then this sub calls another module sub. When that module is opened the global variable theDAte is not recognized. I'm getting an error message that says an ambiguous name is detected.
Help!
Option Compare Database
Global theDate As String
Public Sub GetDate()
theDate = InputBox("Enter Volume Date YYYYMM")
mymonth = Right(theDate, 2)
then this sub calls another module sub. When that module is opened the global variable theDAte is not recognized. I'm getting an error message that says an ambiguous name is detected.
Help!