View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] jeffreyoung@msn.com is offline
external usenet poster
 
Posts: 1
Default Using a Varible inside of a proper address

Top of the morning

Assume the following:
LogSheet being a definied string variable
LogSheet has the value of 'Feb' assinged to it

It is used in the following line of code

ActiveWorkbook.Names.Add Name:="count",
RefersToR1C1:="=LogSheet!R8C7"

The code runs

I want Feb!r8c7.....I get LogSheetr8c7

Thanks in advance for any help