Good day all!
I'm trying to "Set" to a string... which probably isn't possible. Even so, how would I go about making the following code work?
The comment shows where I get an error of: Run time error '91': Object Variable of With block not set.
Any ideas?
________________________________________
Buddha. Dharma. Sangha.
I'm trying to "Set" to a string... which probably isn't possible. Even so, how would I go about making the following code work?
The comment shows where I get an error of: Run time error '91': Object Variable of With block not set.
Code:
Public Sub EmpRepSelect(shtGrpName As String, ReportName As String)
Dim PRfrom As TextBox
Dim Text1 as String
Text1 = "Me.txt" & shtGrpName & "_PRfrom"
PRfrom = Text1 '<-- Error
...
...
...
End Sub
Any ideas?
________________________________________
