Closed Thread
Results 1 to 2 of 2

How do you declare several variables?

  1. #1
    Registered User
    Join Date
    07-29-2013
    Location
    California, United States
    MS-Off Ver
    Excel 2010
    Posts
    49

    How do you declare several variables?

    Let's say I want to declare variables a, b, c, d, e as integers. Can I do this?

    Please Login or Register  to view this content.
    Or must I separate and do the following:

    Please Login or Register  to view this content.
    I know with String, I must declare each variable separately. Is this true for all data types (Worksheet, Workbook, Integer, Long, etc)?

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How do you declare several variables?

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.
    http://www.excelforum.com/excel-prog...variables.html
    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How do you declare several variables?
    By bananajelly in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-22-2014, 05:43 PM
  2. [SOLVED] Declare variables in Classes
    By exceltabz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2014, 03:58 PM
  3. [SOLVED] How to declare variables
    By nav505 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2013, 01:25 PM
  4. Why declare variables
    By tryer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-17-2009, 12:03 PM
  5. [SOLVED] declare Variables
    By Lee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2005, 05:05 PM

Tags for this Thread

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