ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Hide Drop Down Arrows in Table Headers (https://www.excelbanter.com/excel-worksheet-functions/201695-hide-drop-down-arrows-table-headers.html)

Steve Haack September 8th 08 03:31 PM

Hide Drop Down Arrows in Table Headers
 
I'm using Excel 2007. I select a range and define it as a table. Excel puts
drop down arrows on the column headers.

Is there any way to hide the drop downs, and still keep the range as a table?

Steve

Roger Govier[_3_] September 8th 08 05:40 PM

Hide Drop Down Arrows in Table Headers
 
Hi Steve

As far as I am aware, there is no setting for this.
The following code will switch the arrows off. Similar code with the
attribute set to True will switch them back on

Sub HideArrows()
Dim c As Range
Dim i As Integer
i = Cells(1, 1).End(xlToRight).Column
Application.ScreenUpdating = False
For Each c In Range(Cells(1, 1), Cells(1, i))
c.AutoFilter Field:=c.Column, visibledropdown:= False
Next
Application.ScreenUpdating = True
End Sub


--
Regards
Roger Govier

"Steve Haack" wrote in message
...
I'm using Excel 2007. I select a range and define it as a table. Excel
puts
drop down arrows on the column headers.

Is there any way to hide the drop downs, and still keep the range as a
table?

Steve



Gord Dibben September 8th 08 06:20 PM

Hide Drop Down Arrows in Table Headers
 
In 2003 I would go to ToolsOptionsViewObjectsHide All


Gord Dibben MS Excel MVP

On Mon, 8 Sep 2008 07:31:01 -0700, Steve Haack
wrote:

I'm using Excel 2007. I select a range and define it as a table. Excel puts
drop down arrows on the column headers.

Is there any way to hide the drop downs, and still keep the range as a table?

Steve



Roger Govier[_3_] September 8th 08 08:48 PM

Hide Drop Down Arrows in Table Headers
 
Hi Gord

Unfortunately in XL2007
Round Office buttonExcel optionsAdvanced
Display options for this WorkbookFor Objects show Nothing (Hide Objects)
does not prevent the filter buttons on Tables from being hidden.

--
Regards
Roger Govier

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
In 2003 I would go to ToolsOptionsViewObjectsHide All


Gord Dibben MS Excel MVP

On Mon, 8 Sep 2008 07:31:01 -0700, Steve Haack
wrote:

I'm using Excel 2007. I select a range and define it as a table. Excel
puts
drop down arrows on the column headers.

Is there any way to hide the drop downs, and still keep the range as a
table?

Steve



Gord Dibben September 9th 08 06:08 PM

Hide Drop Down Arrows in Table Headers
 
Thanks Roger.

Gord

On Mon, 8 Sep 2008 20:48:56 +0100, "Roger Govier"
<[email protected] wrote:

Hi Gord

Unfortunately in XL2007
Round Office buttonExcel optionsAdvanced
Display options for this WorkbookFor Objects show Nothing (Hide Objects)
does not prevent the filter buttons on Tables from being hidden.




All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
ExcelBanter.com