+ Reply to Thread
Results 1 to 3 of 3

How to declare variables

  1. #1
    Forum Contributor
    Join Date
    02-10-2013
    Location
    Wolverhampton
    MS-Off Ver
    Excel 2010
    Posts
    101

    How to declare variables

    Hi, can someone please tell me how to declare the following in vba coding

    An integer to use as a counter (e.g. intCounter)
    Two integers to use as upper/lower limits for the random number you will generate (e.g. intLower and intUpper)
    A Long Integer to hold the cumulative total (e.g. lngCumTotal)
    A Long Integer to hold the random number we will generate (e.g. lngRandom)

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: How to declare variables

    perhaps:

    Please Login or Register  to view this content.
    Gary's Student

  3. #3
    Forum Contributor
    Join Date
    02-10-2013
    Location
    Wolverhampton
    MS-Off Ver
    Excel 2010
    Posts
    101

    Re: How to declare variables

    Thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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