PDA

Click to See Complete Forum and Search --> : Silly Question


Nov 18th, 1999, 04:14 PM
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

onerrorgoto
Nov 18th, 1999, 06:01 PM
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)
anders@zsystemdesign.se