Macro/code to hide rows

G

Guest

I am making a complaint tracking form and want the users to be able to have a
completed row automatically hidden. Ideally this would happen via a command
button at the end of each row, or one central command button that they can
click and then select the row to be hidden, or select the row first and then
click the button. There will be around 200 active rows on this worksheet at
any given time, and I need the ability to have any one of the rows hidden
when it is completed. I have tried other code examples I found on here, but
none of them have worked as of yet. Any help is greatly appreciated. Thank
you.
 
G

Gord Dibben

Selecting a cell and clicking a button doesn't sound too automatic to me.

Why not just right-click on the row header and "Hide"?

If you could tell us how Excel would know a row is completed I am sure someone
could come up with event code that would hide the row automatically without
selecting and clicking.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

hidden rows 2
Hiding Rows/Columns 1
Hide Row command using if statement 2
Insert rows 3
Macro to hide rows 1
AUTO HIDE ROWS 1
How do I unhide rows 1 through 28 on an Excel worksheet? 1
Formula to hide blank rows 4

Top