Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Mar 2006
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    289
    Thanks
    0
    Thanked 1 Time in 1 Post

    Contents of variables (2003 sp3)

    When observing the contents of a variable while stepping through code, is there a way to expand the contents tag? The variable in this case holds a filename with a long network path and only half of the path displays.
    Thanks
    chuck

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Contents of variables (2003 sp3)

    Option 1:
    - Activate the Immediate window (Ctrl+G).
    - Type ? followed by a space and the name of the variable, for example
    <code>
    ? strFileName
    </code>
    - Press Enter.

    Option 2:
    - Activate the Immediate window (Ctrl+G).
    - Type MsgBox followed by a space and the name of the variable, for example
    <code>
    MsgBox strFileName
    </code>
    - Press Enter.

Posting Permissions

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