+ Reply to Thread
Results 1 to 4 of 4

Indexing a activecell to a range

  1. #1
    Registered User
    Join Date
    12-11-2018
    Location
    Detroit
    MS-Off Ver
    2010
    Posts
    43

    Indexing a activecell to a range

    I'm indexing Activecell to a range and selecting it with the indexed name.
    Range ("rng").select is not working. Why?

    Please Login or Register  to view this content.
    Last edited by Sriramroxx; 12-30-2019 at 02:44 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: Indexing a activecell to a range

    Because your code is trying to call on rng via a string variable rather than the range object you've set it as.

    Should be:
    Please Login or Register  to view this content.
    Rather than:
    Please Login or Register  to view this content.
    Beth.

  3. #3
    Registered User
    Join Date
    12-11-2018
    Location
    Detroit
    MS-Off Ver
    2010
    Posts
    43

    Re: Indexing a activecell to a range

    Thanks. I already said that rng as range. So I dont need to specify it.

  4. #4
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: Indexing a activecell to a range

    I didn't say you did need to specify it, I said your code was calling on it incorrectly. Purely a syntactical error.

    Anyway, glad it's solved and thanks for the rep.

    Beth.

+ 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. [SOLVED] Need help with Indexing/Match the correct value within range/sheets
    By GoranHH in forum Excel General
    Replies: 3
    Last Post: 10-04-2019, 02:20 PM
  2. indexing with a range input error
    By JRD1997 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-16-2016, 03:50 PM
  3. Copying an activecell range and pasting to another activecell range
    By Londonbound in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2014, 07:41 AM
  4. Indexing VLookup Values to a Range
    By jablo1312 in forum Excel General
    Replies: 6
    Last Post: 08-22-2014, 03:39 PM
  5. [SOLVED] Trouble with indexing multiple criteria with a date range
    By kunjanee in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-19-2013, 04:32 PM
  6. [SOLVED] Use ActiveCell as Range
    By 55horses in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-10-2012, 12:13 AM
  7. Range of the ActiveCell
    By escelinen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-13-2007, 08:14 AM

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