Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Hide names of columns and rows by code.

Hello,

I was wondering if there is some sort of command to hide the ABCDE and
12345etc...

Robert

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Hide names of columns and rows by code.


Sub CanYouSeeThem()
If TypeName(Selection) = "Range" Then
ActiveWindow.DisplayHeadings = Not ActiveWindow.DisplayHeadings
End If
End Sub
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Robert"
wrote in message
Hello,
I was wondering if there is some sort of command to hide the ABCDE and
12345etc...
Robert

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Hide names of columns and rows by code.

Thanks a lot. Works perfect.

Ronert


On 24 jun, 20:08, "Jim Cone" wrote:
Sub CanYouSeeThem()
If TypeName(Selection) = "Range" Then
ActiveWindow.DisplayHeadings = Not ActiveWindow.DisplayHeadings
End If
End Sub
--
Jim Cone
San Francisco, USAhttp://www.realezsites.com/bus/primitivesoftware

"Robert"
wrote in message
Hello,
I was wondering if there is some sort of command to hide the ABCDE and
12345etc...
Robert



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Hide names of columns and rows by code.


ActiveWindow.DisplayHeadings = False 'Off
ActiveWindow.DisplayHeadings = True 'On


"Robert" wrote:

Hello,

I was wondering if there is some sort of command to hide the ABCDE and
12345etc...

Robert


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro code to hide rows and not calculate hidden rows bradmcq Excel Discussion (Misc queries) 0 September 1st 09 12:38 AM
Enabling option „Format rows“ to hide/unhide rows using VBA-code? ran58 Excel Discussion (Misc queries) 0 July 28th 09 03:46 PM
vb code to hide columns pm tlb Excel Discussion (Misc queries) 4 May 28th 09 09:36 AM
Hide columns code jlclyde Excel Discussion (Misc queries) 0 April 25th 08 03:17 PM
Modification in the CODE to HIDE rows and columns that start with ZERO (code given) Thulasiram[_2_] Excel Programming 4 September 26th 06 04:15 AM


All times are GMT +1. The time now is 11:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"