+ Reply to Thread
Results 1 to 4 of 4

View currently filled variable results?

  1. #1
    Registered User
    Join Date
    08-27-2009
    Location
    Milton Keynes
    MS-Off Ver
    Excel 2007
    Posts
    45

    View currently filled variable results?

    I am desperate to know if there's a way to use one of excels existing features, in which it highlights a line of code and when you hover your mouse over that particular line it tells you what is contained within that variable, currently selected on the userform.

    I can only seem to achieve this by accidentally causing an error in my code, I'm still not quite sure how to trigger it... I do find it extremely useful though, to see how variables are being passed around etc...

    Is there a way to use this feature other than when triggered by an error?

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: View currently filled variable results?


    See VBE F8 & F9 keys …

    And also the Local Variables window …

  3. #3
    Forum Contributor gsnidow's Avatar
    Join Date
    07-22-2010
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2007
    Posts
    150

    Re: View currently filled variable results?

    In addition to the local variables window mentioned above, it is often helpful to use Debug.print variable in your code. It will print the value of the variable in the immediate window. In the VBE, go to view and choose "Immediate window", and "Locals window"

    Greg
    Just a guy trying to make work stuff easier.

  4. #4
    Registered User
    Join Date
    08-27-2009
    Location
    Milton Keynes
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: View currently filled variable results?

    Thanks, I shall to a bit of research!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 10-09-2013, 10:26 PM
  2. Need Cell pre-filled before adding results to it.
    By creekboy in forum Excel General
    Replies: 2
    Last Post: 02-25-2013, 01:54 PM
  3. Counting Results after Multiple criteria are filled.
    By Danieljfern in forum Excel General
    Replies: 3
    Last Post: 06-10-2011, 11:06 AM
  4. Formula to display results once 2 cells are filled
    By damonb in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-23-2011, 03:54 PM
  5. How to make results appearonly when all cells filled?
    By ABSTRAKTUS in forum Excel General
    Replies: 2
    Last Post: 05-28-2010, 09:01 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1