LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Name a range using cell contents

I want to setup a macro for users to define named ranges in several sheets
and name the range whatver they enter into a certain cell in that sheet e.g:

Range("B15:K15").Select
ActiveWorkbook.Names.Add Name:="_1A", RefersToR1C1:= _
"=TEMPLATE!R15C2:R15C11"
Where "_1A" is the user entry into a specific cell which will be the same
cell in each sheet. When i record the macro it puts in "_1A" each time - how
do i get it to link to the variable cell contents?

Thanks,
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to tell whether any cell within a Range has non-empty contents Cullen Morris Excel Programming 2 September 29th 08 07:24 PM
Macro to clear range contents when cell contents are changed by us Steve E Excel Programming 12 February 22nd 07 09:09 PM
Convert cell contents to range jgrogan Excel Worksheet Functions 3 July 17th 06 09:32 AM
Find cell contents in range Nigel Excel Discussion (Misc queries) 7 May 16th 05 01:15 PM
Copy contents of Range to other cell Al[_11_] Excel Programming 10 October 23rd 03 04:45 PM


All times are GMT +1. The time now is 08:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"