+ Reply to Thread
Results 1 to 2 of 2

Hiding Rows Based on Cell Content

  1. #1
    Registered User
    Join Date
    05-22-2009
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Hiding Rows Based on Cell Content

    In my File1.xls, I am using code I found that allows a user to double click in a cell to make a checkmark appear. (It is actually the letter "a" in marlett font.) For my application, the checkmarks can be added in column A, rows 1 through 25, of Sheet1 by double clicking. Therefore, based on user input, cells A1:A25 are either blank or contain the letter "a" if they are checked. Column B has text, Arial font, in each row. That works fine.

    My goal is to link two Excel files. In my File2.xls, when it opens, I want its Sheet1, cells B1:B25, to show the text from cells B1:B25 in File1.xls, but only the rows where an "a" appears in Column A in File1.xls. The rows in Column A, File1.xls that are blank should be HIDDEN in Sheet1, File2.xls.

    Ideally, I would also want Sheet2 in File1.xls,when clicked on, be the same as File2.xls, Sheet1.

    I'm new to VBA and would appreciate your help. CJ

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Hiding Rows Based on Cell Content

    Do you mean that you want to copy the visible rows across?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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