View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Declaring variables

Use a Variant type variable.


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

"freekrill"
wrote in
message
...

Hi,

I want to declare a variable which can be either an integer or
null.
What do I put in the dim x as ... statement?

Thanks for your help

free


--
freekrill
------------------------------------------------------------------------
freekrill's Profile:
http://www.excelforum.com/member.php...fo&userid=7561
View this thread:
http://www.excelforum.com/showthread...hreadid=562547