Thread: Declaration?
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
TJF[_2_] TJF[_2_] is offline
external usenet poster
 
Posts: 2
Default Declaration?

Hello,

I need declaration variable like this:

dim example as ???
example = 155
msgbox example
------------------------------------
And I need this result: 000155
------------------------------------
example = example + 1000
------------------------------------
And I need this result: 001155
------------------------------------

in range I cen use Selection.NumberFormat = "000000", but how its work when
I want use this in variable.

Thanks Tom