View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
aking1987 aking1987 is offline
external usenet poster
 
Posts: 1
Default Defining a variable within a sub...


Is it possible to define a variable, say "cellalphanumber" as "D" a
part of the ELSE within an if then else statement.

So if its ELSE it will define cellalphanumber = D

Can this definition be used within another sub

--
aking198
-----------------------------------------------------------------------
aking1987's Profile: http://www.excelforum.com/member.php...fo&userid=1539
View this thread: http://www.excelforum.com/showthread.php?threadid=27731