+ Reply to Thread
Results 1 to 8 of 8

Create dynamic name range

  1. #1
    Registered User
    Join Date
    02-10-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Create dynamic name range

    Hi Guys,

    Is their a method in VBA or else where within excel to create a dynamic name range?

    I have a range of C13 to IV5000, I would like to place BGColor front of each cell name, is this possible?

    Any help would be much appreicated.

    Thanks in advance.
    Last edited by VBA Noob; 02-12-2009 at 02:34 PM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Create dynamic name range

    It is not clear what you mean by ... place BGColor front of each cell name.

    Do you want a separate name for each cell?

  3. #3
    Registered User
    Join Date
    02-10-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Create dynamic name range

    Yes, a sperate name for each cell.

    eg: BGColourC13, BGColourC14......BGColourIV5000.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Create dynamic name range

    Why do you want that many Named ranges?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    02-10-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Create dynamic name range

    In a nut shell.

    I have 2 work sheets with a pivot table on each, the pivote tables will grow and shink depending on data.

    The first pivot table provides an int, This int is used in the conditional formatting of the second pivot table and because their on different work sheet I need to reference the range name of the cell to use the conditional formatting.

  6. #6
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Create dynamic name range

    Quote Originally Posted by merlino View Post
    In a nut shell.

    I have 2 work sheets with a pivot table on each, the pivote tables will grow and shink depending on data.

    The first pivot table provides an int, This int is used in the conditional formatting of the second pivot table and because their on different work sheet I need to reference the range name of the cell to use the conditional formatting.
    What's an int?

  7. #7
    Registered User
    Join Date
    02-10-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Create dynamic name range

    integer.....1,2,3,4 whole numbers.

  8. #8
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Create dynamic name range

    Still missing why you need all those names. If PT1 returns a single number, wy can't the CF check against that?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1