+ Reply to Thread
Results 1 to 5 of 5

Displaying all Named Ranges in workbook

  1. #1
    Barb Reinhardt
    Guest

    Displaying all Named Ranges in workbook

    Programmatically, how do I get all of the named ranges in the workbook to be
    displayed on my Sheet1. I have named ranges that are workbook specific and
    worksheet specific. I'd like to know the sheet that they are specific to if
    they are present.

    Thanks,

  2. #2
    Don Guillett
    Guest

    Re: Displaying all Named Ranges in workbook

    Sub listnames()
    Application.Calculation = xlManual
    For Each n In ThisWorkbook.Names
    lr = Cells(Rows.Count, "a").End(xlUp).Row + 1
    Cells(lr, 1) = n.Name
    Cells(lr, 2) = n
    Next
    Application.Calculation = xlAutomatic
    End Sub


    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Barb Reinhardt" <[email protected]> wrote in message
    news:[email protected]...
    > Programmatically, how do I get all of the named ranges in the workbook to
    > be
    > displayed on my Sheet1. I have named ranges that are workbook specific
    > and
    > worksheet specific. I'd like to know the sheet that they are specific to
    > if
    > they are present.
    >
    > Thanks,




  3. #3
    Barb Reinhardt
    Guest

    Re: Displaying all Named Ranges in workbook

    Anything after the ! in column 2 is not being displayed. What needs to be
    changed?

    Thanks

    "Don Guillett" wrote:

    > Sub listnames()
    > Application.Calculation = xlManual
    > For Each n In ThisWorkbook.Names
    > lr = Cells(Rows.Count, "a").End(xlUp).Row + 1
    > Cells(lr, 1) = n.Name
    > Cells(lr, 2) = n
    > Next
    > Application.Calculation = xlAutomatic
    > End Sub
    >
    >
    > --
    > Don Guillett
    > SalesAid Software
    > [email protected]
    > "Barb Reinhardt" <[email protected]> wrote in message
    > news:[email protected]...
    > > Programmatically, how do I get all of the named ranges in the workbook to
    > > be
    > > displayed on my Sheet1. I have named ranges that are workbook specific
    > > and
    > > worksheet specific. I'd like to know the sheet that they are specific to
    > > if
    > > they are present.
    > >
    > > Thanks,

    >
    >
    >


  4. #4
    Bob Phillips
    Guest

    Re: Displaying all Named Ranges in workbook

    Barb,

    Get a hold of Jan Karel Pieterse's Namemanager utility
    http://www.jkp-ads.com/OfficeMarketPlaceNM-EN.asp

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "Barb Reinhardt" <[email protected]> wrote in message
    news:[email protected]...
    > Programmatically, how do I get all of the named ranges in the workbook to

    be
    > displayed on my Sheet1. I have named ranges that are workbook specific

    and
    > worksheet specific. I'd like to know the sheet that they are specific to

    if
    > they are present.
    >
    > Thanks,




  5. #5
    Don Guillett
    Guest

    Re: Displaying all Named Ranges in workbook

    widen the column?

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Barb Reinhardt" <[email protected]> wrote in message
    news:[email protected]...
    > Anything after the ! in column 2 is not being displayed. What needs to
    > be
    > changed?
    >
    > Thanks
    >
    > "Don Guillett" wrote:
    >
    >> Sub listnames()
    >> Application.Calculation = xlManual
    >> For Each n In ThisWorkbook.Names
    >> lr = Cells(Rows.Count, "a").End(xlUp).Row + 1
    >> Cells(lr, 1) = n.Name
    >> Cells(lr, 2) = n
    >> Next
    >> Application.Calculation = xlAutomatic
    >> End Sub
    >>
    >>
    >> --
    >> Don Guillett
    >> SalesAid Software
    >> [email protected]
    >> "Barb Reinhardt" <[email protected]> wrote in
    >> message
    >> news:[email protected]...
    >> > Programmatically, how do I get all of the named ranges in the workbook
    >> > to
    >> > be
    >> > displayed on my Sheet1. I have named ranges that are workbook
    >> > specific
    >> > and
    >> > worksheet specific. I'd like to know the sheet that they are specific
    >> > to
    >> > if
    >> > they are present.
    >> >
    >> > Thanks,

    >>
    >>
    >>




+ 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