Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Setting several variables at the same time

Hi, just wanted to find out if it is possible to set several integer or
string variables to the same value all at once? I know that they can
be declared on one line and was wondering if it is possible to do the
same with assigning a value, e.g. Zero.
Thx,
Bender

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Setting several variables at the same time

To the best of my knowledge there is no way to set more than one vairable at
a time. When the variable is created however it is intialized to a default
value (0 for numbers), unlike C or C++ where the value of a variable that has
not been initialized is ???
--
HTH...

Jim Thomlinson


"BenderBender" wrote:

Hi, just wanted to find out if it is possible to set several integer or
string variables to the same value all at once? I know that they can
be declared on one line and was wondering if it is possible to do the
same with assigning a value, e.g. Zero.
Thx,
Bender


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Multiple Variables with a loop jlclyde Excel Discussion (Misc queries) 6 November 11th 09 09:40 PM
Confused about setting up functions based on variables? NotExcelingNow Excel Worksheet Functions 5 January 9th 08 07:31 PM
Setting Public Variables Error clmarquez[_10_] Excel Programming 8 January 16th 06 05:25 PM
Setting variables to Nothing Matt Jensen Excel Programming 5 January 12th 05 02:25 AM
Setting a print range using variables Mary Branson Excel Programming 3 February 3rd 04 05:23 PM


All times are GMT +1. The time now is 10:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"