+ Reply to Thread
Results 1 to 2 of 2

Indirect Range in VBA

  1. #1
    Forum Contributor
    Join Date
    06-16-2010
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2010
    Posts
    278

    Indirect Range in VBA

    Hi, I want the value of a named cell to be referenced as a range in vba, like Indirect function. I tried the code below and a few other things but am not able to get it working. Any suggestions?

    Please Login or Register  to view this content.
    FYI: The range NameSelected is on Sheet1, but the row to hide is on Sheet10.

    Thank you.

    Edit - this doesn't work either
    Please Login or Register  to view this content.
    Edit 2 - I got it!
    Please Login or Register  to view this content.
    Last edited by ker9; 11-28-2012 at 06:02 PM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Indirect Range in VBA

    Thank you for providing the solution. Though next time onwards, please post the solution as a separate post, so its easy to distinguish between the question and the answer.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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