View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
dominicb[_76_] dominicb[_76_] is offline
external usenet poster
 
Posts: 1
Default Variable cell in vba code


Good morning Mikeice

Sorry, but I'm not quite sure what you're after here. Do you want to
rename the worksheet after the contents of a cell? If so, does this
piece of code help you at all:

a = Range("B25").Value
ActiveSheet.Name = a

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=391515