+ Reply to Thread
Results 1 to 2 of 2

3 Parts - Conditional Hide Row, Remove Case sensitivity, Dynamic Range

  1. #1
    Registered User
    Join Date
    08-07-2019
    Location
    Near Gettysburg, Pa, Usa
    MS-Off Ver
    Excel 365
    Posts
    1

    3 Parts - Conditional Hide Row, Remove Case sensitivity, Dynamic Range

    i currently have a spreadsheet and would like to be able to conditionally hide rows that are "completed".

    I have set up the basic code and 2 buttons that can hide and show the rows.

    With my code, you MUST WRITE "Completed" exactly and id like to be able to have some variation in the case of it. like all lowercase.

    And my current range is set at "a = 2 to 174". Id like it to be dynamic so as I add more rows it will auto-update.

    Below are samples of the codes I have written.
    ---------------------------------------------------------------
    to hide rows
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    module to create dynamic range
    i cant refrence it in the above code

    ******************************

    need something to remove case sensivity
    Last edited by mthart; 08-08-2019 at 08:15 AM.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: 3 Parts - Conditional Hide Row, Remove Case sensitivity, Dynamic Range

    This for your hidden rows.
    Please Login or Register  to view this content.
    A dynamic range can be created in more than one way. In some cases, a named range can be dynamic. You can also just reference the UsedRange and Excel knows which rows and columns are being used. You can limit the dynamic range to one column by using the End(xlUp) function, eg.
    Please Login or Register  to view this content.
    Or you can use several columns by
    Please Login or Register  to view this content.
    BTW, you should use code tags when posting code. To do that, select the portion of your post that is code, then click the pound symbol (#) in the tool bar of the reply box. You should edit your original post and fix it or the moderator might scold you.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

+ 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. hide/remove certain parts of pivot table
    By tryingtoexcelatexcel in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 08-07-2018, 02:18 AM
  2. hide/remove certain parts of pivot table
    By tryingtoexcelatexcel in forum Excel General
    Replies: 0
    Last Post: 08-06-2018, 03:32 AM
  3. [SOLVED] Case sensitivity with IF statement
    By AceForSale in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2018, 10:31 AM
  4. SQL LIKE case sensitivity issue
    By keyston in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2011, 09:16 AM
  5. Excel 2007 : Sumproduct Remove Case Sensitivity
    By TommyG in forum Excel General
    Replies: 3
    Last Post: 01-09-2011, 07:38 AM
  6. multiple if's and case sensitivity
    By xcelnoob in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-22-2007, 09:54 PM
  7. [SOLVED] VLookup & Case Sensitivity
    By KHogwood-Thompson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2006, 04:35 AM

Tags for this Thread

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