+ Reply to Thread
Results 1 to 4 of 4

determining variable type

  1. #1
    Registered User
    Join Date
    08-27-2014
    Location
    Albany, NY
    MS-Off Ver
    Office 2010
    Posts
    91

    determining variable type

    I am trying to figure a way to determine if the users variable type is boolean or not. Ages ago you could use VarType, but that is long gone, so I was trying to use TypeOf but I am getting the error "Expected object or type name". Can anyone tell me what I am doing wrong?

    The abbreviated code is:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: determining variable type

    I went into the VBE help box and typed VarType and it's still there.

  3. #3
    Registered User
    Join Date
    08-27-2014
    Location
    Albany, NY
    MS-Off Ver
    Office 2010
    Posts
    91

    Re: determining variable type

    hmmm its saying no...interesting...I will check it out. Though i did find this:

    Please Login or Register  to view this content.
    I am hitting another issue I will probably start a new string soon, thank you.

  4. #4
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: determining variable type

    Try:

    Please Login or Register  to view this content.
    Last edited by skywriter; 08-31-2015 at 01:27 PM.

+ 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. Runtime error '13' Type Mismatch - Determining current age
    By Sorjas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2014, 01:27 AM
  2. Replies: 1
    Last Post: 02-05-2014, 08:36 PM
  3. Determining variable on the basis of given values
    By madsmad in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-18-2010, 07:55 PM
  4. Replies: 15
    Last Post: 09-26-2006, 09:18 AM
  5. Determining Save As Type
    By Sam Bruce in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2006, 05:08 PM
  6. Variable determining formula
    By natelr in forum Excel General
    Replies: 2
    Last Post: 06-27-2006, 07:27 PM
  7. [SOLVED] Need help determining Chart Type
    By AlCamp in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 03-19-2005, 06:54 PM

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