Results 1 to 2 of 2

Thread: Silly Question

  1. #1
    Guest

    Post

    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

  2. #2
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Post

    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]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width