Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Dukker Jansen   on Feb 08 In MS Office Category.

  
Question Answered By: Harriet Hughes   on Feb 08

see if this helps:

in the VB line:

ActiveWorkbook.Names.Add Name:=a, RefersToR1C1:=d

try this:

ActiveWorkbook.Names.Add Name:=a, RefersTo:= _
"=" & d

this "space underline space", at the end of the vb line, forces the function
'build' to continue 'wrap' to the next line!
Not sure why this worked!

Share: 

 

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

 
Didn't find what you were looking for? Find more on using macro to create dynamic named ranges Or get search suggestion and latest updates.


Tagged: