Initilizing en masse

  • Thread starter Thread starter steveski
  • Start date Start date
S

steveski

If I need to initialize a bunch of variables, (C1 = 0, c2 = 0, c3 = 0
etc.), is there a shorthand method, or do I have to do it as follow:

c1=0
c2=0
c3=0
etc
 
There is no way to initialize variables en masse. Unless they are
all within an array, you have to initialize them individually.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top