+ Reply to Thread
Results 1 to 11 of 11

Set range H5: H#### where ### is a number from a cell stored in HD4

  1. #1
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Set range H5: H#### where ### is a number from a cell stored in HD4

    Hi guys,
    All I want to do is set the range as H5:H#### where #### is a number stored in a cell. In other words the range is dynamic.

    Please Login or Register  to view this content.
    Additionally, I'd like to filter multiple criteria starting with criteria1 and criteria 2 will filter from criteria 1 and so on... can I just use

    Please Login or Register  to view this content.
    Thanks,
    Sam

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    You can accomplish this using the =INDIRECT function.

    https://support.office.com/en-us/art...b-d4007d89477a

  3. #3
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    I'm afraid I don't know how to do this in VBA. Right now I have a bunch of rows that go to 14000 and increase daily and 1 row goes to 50,000. I only need to filter the list that goes to 14k as it changes not all the way to 50k. This takes too long.

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  5. #5
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    Please see the attached, by the way I need to search every single field so if there is anything I need to be wary of please advise

    Data_For_filter.xlsb

  6. #6
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    OK.. thats the story..

    try to grasp it..

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    Quote Originally Posted by Debraj Roy View Post
    OK.. thats the story..

    try to grasp it..

    Please Login or Register  to view this content.
    Ug I knew it was so simple. I was so close. If I post the code I have now for the complete setup would you be able to offer any suggestions to make it faster? Your call of course.

  8. #8
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    p1 of 2
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    p2 of 2
    Please Login or Register  to view this content.

  10. #10
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    Quote Originally Posted by sdl2 View Post
    If I post the code I have now for the complete setup would you be able to offer any suggestions to make it faster?
    only If you post the Sheet.. and let us know the FLOWCHART.. or requirement.. in plain language..

  11. #11
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Re: Set range H5: H#### where ### is a number from a cell stored in HD4

    Quote Originally Posted by Debraj Roy View Post
    only If you post the Sheet.. and let us know the FLOWCHART.. or requirement.. in plain language..
    Hi Debraj,
    I have been having great trouble with this. What I have in the Design Form is an unchangable layout for our product. The "flow" is that a user enters any data in the design master, that may be a partial match or more than one criteria. The data types are numerical, text and date. Then when the user clicks search records, records that match are returned. Basically filter the raw data. I have only shown the first few hundred records. There are 14k and growing. Let me know what you think!

    Module 5 contains the code that pertains to the search record button and what I am trying to do.

    Thanks for the help!!!
    DesignMasterCodeCleanup.xlsb

+ 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. Converting a range of numbers stored as text to number format w/o looping
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-23-2013, 04:40 AM
  2. How to select a cell based on a row number I have stored
    By ChrisF79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2013, 02:11 PM
  3. [SOLVED] Compare what cell is stored in a Range variable.
    By GaidenFocus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-12-2012, 03:05 PM
  4. [SOLVED] HOW TO FIND THE COLUMN OR ROW NUMBER of a address stored in a cell
    By chrismonica in forum Excel General
    Replies: 3
    Last Post: 07-07-2012, 10:43 AM
  5. Equation Referencing Row Number Stored in Cell
    By Jim Hagan in forum Excel General
    Replies: 1
    Last Post: 04-13-2005, 04:06 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