Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Harley Evans   on Sep 13 In MS Office Category.

  
Question Answered By: Lucinda Hall   on Sep 13

I suppose that you want to Name your list as one of the strings in the
list itself? Correct?

==============================================================
Dim LocCode As String

LocCode = Cells(2, 1).Value 'This will choose the string.
ThisWorkbook.Names.Add Name:=LocCode, RefersTo:="=$A$1:$A$4",
Visible:=True 'this part will name the list as the string  chosen.
================================================================

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Error when using variable to name a range Or get search suggestion and latest updates.


Tagged: