filter non-blanks before closing

  • Thread starter Kevin_apprentice
  • Start date
K

Kevin_apprentice

hello!

could anyone help me with my problem?
the case is, I want to auto filter the non-blanks of a column (i.e. "A3")
and save it before I close the file....

thanks in advance for your assistance.
 
D

Dave Peterson

I'd start by recording a macro (show all data first????) when I did it manually.

But instead of running the macro before the workbook closes, I'd put it in the
Auto_Open procedure.

Then instead of having to figure out what to do (what happens if the user
doesn't want to save the changes???), the workbook will open nicely.

Record that macro and rename the macro to Auto_open

Then save, close and reopen to test.
 

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

Top