Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The following hides the Row and Column Headings for the activesheet. How can
it be adjusted to apply to the whole workbook Sub HideRowAndColHeadings() Windows("TestBook.xls").DisplayHeadings = False End Sub Thanks Sandy |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub HideRowAndColHeadings()
Dim sh as Worksheet, sh1 as Worksheet Application.ScreenUpdating = False set sh1 = Activesheet for each sh in Workbooks("TestBook.xls").Worksheets sh.Activate Windows("TestBook.xls").DisplayHeadings = False Next Application.ScreenUpdating = True sh1.Activate End Sub -- Regards, Tom Ogilvy "Sandy" wrote: The following hides the Row and Column Headings for the activesheet. How can it be adjusted to apply to the whole workbook Sub HideRowAndColHeadings() Windows("TestBook.xls").DisplayHeadings = False End Sub Thanks Sandy |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try:
put this code under thisworkbook Private Sub Workbook_SheetActivate(ByVal Sh As Object) Windows("book1.xlsx").DisplayHeadings = False End Sub -- Regards, Sebation.G "Sandy" ... The following hides the Row and Column Headings for the activesheet. How can it be adjusted to apply to the whole workbook Sub HideRowAndColHeadings() Windows("TestBook.xls").DisplayHeadings = False End Sub Thanks Sandy |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
In the ThisWorkBook code module put this Private Sub Workbook_SheetActivate(ByVal Sh As Object) Application.Screenupdating = False HideRowAndColHeadings End Sub bit oblique, but it does the job eventually! Paul On May 24, 2:36 pm, "Sandy" wrote: The following hides the Row and Column Headings for the activesheet. How can it be adjusted to apply to the whole workbook Sub HideRowAndColHeadings() Windows("TestBook.xls").DisplayHeadings = False End Sub Thanks Sandy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is it possible to hide column headings & row numbers? | Excel Discussion (Misc queries) | |||
EXCEL-2000 column headings hide from data | Excel Discussion (Misc queries) | |||
Worksheet has numeric column headings. Change to alpha headings? | Excel Discussion (Misc queries) | |||
How do you hide column and row headings in Excel? | Excel Worksheet Functions | |||
How to hide the column headings displayed by Excel at the left of. | Excel Discussion (Misc queries) |