Results 1 to 2 of 2
  1. #1
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,921
    Thanks
    6
    Thanked 9 Times in 7 Posts

    Setting up a Watch Window (97+)

    Hi All,

    Is there a way, programatically, to set up the watch window with the variables you want watched. That is, I'd like, when opening the VBE for a workbook, that the watch window be open and that specific variables that are key to the workbook already be tagged for watching (don't need a condition on the watch).

    Although this relates to Excel, I think this is a more general VBA question. I'll ask it here but won't mind a repost if the gurus think it appropriate.

    TIA

    Fred

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Setting up a Watch Window (97+)

    That's a great idea, really. Unfortunately I read this from the VBE help:

    "Watch expressions are not saved with your code."

    I suspect that means no.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

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