+ Reply to Thread
Results 1 to 4 of 4

Help with .formula referencing named range and ribbon entry

  1. #1
    Forum Contributor
    Join Date
    06-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    150

    Help with .formula referencing named range and ribbon entry

    Happy Friday!

    I have been battling this single line of code all day. I am getting a Run-time error '1004' Application-defined or object-defined error in this line,

    HTML Code: 
    The variable text is pulled from a ribbon tool. The named range Rng_ScrollCounter_ is dynamic. I need to combine Rng_ScrollCounter_ plus the text entered in the ribbon tool to created a new named range.

    Your help is greatly appreciated. I have tried all combinations of single and double quotes, an ampersand in the middle and anything else I could think of.

    Thanks!

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Help with .formula referencing named range and ribbon entry

    Hi there,

    See if the following code does what you need:

    Please Login or Register  to view this content.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  3. #3
    Forum Contributor
    Join Date
    06-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    150

    Re: Help with .formula referencing named range and ribbon entry

    This worked perfect!!!! Thank you so much!

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Help with .formula referencing named range and ribbon entry

    Hi again,

    Many thanks for your feedback - glad I was able to help.

    Regards,

    Greg M

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Named Range referencing tab
    By krunk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-06-2014, 09:55 AM
  2. Array formulas referencing a named range or named table
    By anrichards22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-03-2013, 11:59 PM
  3. Referencing a single cell in a named range in a formula
    By MacW in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-10-2012, 10:38 AM
  4. [SOLVED] Excel 2007 : Referencing a row of a named range.
    By Dr3vvn45ty in forum Excel General
    Replies: 5
    Last Post: 06-14-2012, 08:28 PM
  5. Referencing a named range
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2010, 08:35 AM
  6. Referencing cell in Named Range in Function VS Formula
    By Nyq in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2006, 03:56 PM
  7. Referencing a cell within a named range
    By ursamtl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2005, 10:44 PM

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