Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Range

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kjeldc - 20 Jan 2006 10:22 GMT
ActiveWorkbook.Names.Add Name:="Members", RefersToR1C1:="=Lists!R3C5:R12C5"

I have this in "Workbook_Open". But How do I expand the area if new members
are added
Bob Phillips - 20 Jan 2006 11:27 GMT
I would take a different approach

   With Worksheets("Lists")
       LastRow = .Cells(Rows.Count,"C").End(xlup).row
       Range("C3:C" & LastRow).Name = "Members"
   End With

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

> ActiveWorkbook.Names.Add Name:="Members", RefersToR1C1:="=Lists!R3C5:R12C5"
>
> I have this in "Workbook_Open". But How do I expand the area if new members
> are added
Kjeldc - 20 Jan 2006 11:57 GMT
Excel-- lent   :-)

"Bob Phillips" skrev:

> I would take a different approach
>
[quoted text clipped - 17 lines]
> members
> > are added
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.