Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rod Rod is offline
external usenet poster
 
Posts: 108
Default Unhide columns and rows

Hi all,
could anybody help me to find whether any of the columns or rows are hide or
not?
If so, is there any way to unhide those (through macro)

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Unhide columns and rows

Do you really have to check first?

Maybe just showing the rows/columns would be enough:

Option Explicit
Sub testme()
With Worksheets("Somesheetnamehere").UsedRange
.Rows.Hidden = False
.Columns.Hidden = False
End With
End Sub

Rod wrote:

Hi all,
could anybody help me to find whether any of the columns or rows are hide or
not?
If so, is there any way to unhide those (through macro)

Thanks in advance.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Unhide columns and rows

To test:
RowStatus = Range("2:2").EntireRow.Hidden
ColumnStatus = Range("A:A").EntireColumn.Hidden

To unhide:
Range(1:65536).EntireRow.Hidden = False
Range("A:IV").EntireColumn.Hidden = False
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Rod" wrote:

Hi all,
could anybody help me to find whether any of the columns or rows are hide or
not?
If so, is there any way to unhide those (through macro)

Thanks in advance.

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
One-click hide or unhide rows & columns Togowa Excel Worksheet Functions 3 August 11th 12 06:45 PM
Why do hidden columns/rows unhide automatically? WHY Excel Discussion (Misc queries) 1 December 11th 07 01:51 AM
Hide / Unhide columns and rows PaulM Excel Discussion (Misc queries) 8 September 6th 07 12:14 AM
How to hide and unhide Rows & Columns Aarif Excel Worksheet Functions 3 March 23rd 06 05:19 AM
Lines separating rows and columns won't unhide [email protected] Excel Discussion (Misc queries) 3 November 2nd 05 03:49 AM


All times are GMT +1. The time now is 12:23 AM.

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

About Us

"It's about Microsoft Excel"