Hide Row Numbers/Column Letter in VBA

M

magmike

Can I use VBA to hide Row Numbers/Column Letters?

If so, how would I initiate that when the workbook opens?

Thanks in advance for your help,
magmike
 
C

Claus Busch

Hi Mike,

Am Sat, 7 Sep 2013 00:00:15 -0700 (PDT) schrieb magmike:
Can I use VBA to hide Row Numbers/Column Letters?

If so, how would I initiate that when the workbook opens?

that is only possible for the active window and not for the workbook.
Try in code module of ThisWorkbook:

Private Sub Workbook_Open()
ActiveWindow.DisplayHeadings = False
End Sub


Regards
Claus B.
 

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