Remove Row/Column Headers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I remove the "row & column headers" in vba? I tried versions of;
Application.DisplayHeadersBar = False. but can't get the code to remove
headers.

Any help is always appreciated.
Thanks
 
ActiveWindow.DisplayHeadings = False

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Is it possible to remove DisplayHeadings from all Worksheets in a Workbook?
Using ActiveWindow.DisplayHeadings = False works great for a worksheet but I
would like to have something like
"Application.CommandBars("DisplayHeadings").Visible = False" or
"Application.DisplayHeadings = False" that would be global for the Workbook.

Currently, the I am putting the "ActiveWindow.DisplayHeadings = False" on
each Worksheet_Activate event, which works in a round about way.

Any help is always appreciated.

Regards
 

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

Back
Top