I am using the With - End With function but have the following problem:-
I want to use With Temp, where Temp is a variable.
VB uses the string Temp, rather than the contents of Temp
Is there any way round this??
Thanks
Roy
Printable View
I am using the With - End With function but have the following problem:-
I want to use With Temp, where Temp is a variable.
VB uses the string Temp, rather than the contents of Temp
Is there any way round this??
Thanks
Roy
To my knowledge and according to the VB help
With
End With
can only be used on objects and user defined Types
Make Temp a type if U wan't to use With-End With.
What is the contents of your Temp variable?
------------------
On Error Goto Bed :0)
[email protected]