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: 54
Default Named ranges

I want to set up a generic names range based upon the entry in a cell on the
worksheet.

I have the following:

For r = 1 To nms.Count
If nms(r).Name Like aWSName And nms(r).Name Like
"*Actual_Total*" Then
Worksheets(aWS).Names.Add Name:="GenericActual",
RefersTo:=nms(r).name
End If
Next r

When I do it this way, I get a type mismatch.

Any suggestions?

Thanks,
Barb Reinhardt

BTW, I'm having difficulty reading any postings on the Microsoft site
directly using IE 6.0. I had to post this using Outlook Express.


 
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
Using named 3-D ranges Nick S. Excel Discussion (Misc queries) 1 March 22nd 07 11:26 AM
union of named ranges based only on the names of those ranges sloth Excel Programming 3 October 2nd 06 03:18 AM
Copy data in named ranges to a newer version of the same template to identical ranges handstand Excel Programming 0 August 21st 06 03:51 PM
Like 123, allow named ranges, and print named ranges WP Excel Discussion (Misc queries) 1 April 8th 05 06:07 PM
named ranges - changing ranges with month selected gr8guy Excel Programming 2 May 28th 04 04:50 AM


All times are GMT +1. The time now is 07:24 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"