Results 1 to 4 of 4

determining variable type

Threaded View

  1. #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:

    If VarType(varItems) = vbBoolean Then
           lngRange = lngRange - 1
     End If
    Last edited by skywriter; 08-31-2015 at 01:27 PM.

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