Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ALV ALV is offline
external usenet poster
 
Posts: 12
Default Select hidden cells

I know you can select visible cells with:

Range.SpecialCells(Excel.XlCellType.xlCellTypeVisi ble).Select

Is there a way to select the opposite of that? Just selecting the hidden
cells.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 341
Default Select hidden cells

you can't select a cell if it is hidden...

what are you trying to do?
--
Allllen


"ALV" wrote:

I know you can select visible cells with:

Range.SpecialCells(Excel.XlCellType.xlCellTypeVisi ble).Select

Is there a way to select the opposite of that? Just selecting the hidden
cells.

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
ALV ALV is offline
external usenet poster
 
Posts: 12
Default Select hidden cells

Thanks Allllen.

I want to copy a ListObject to an array (C#) where all hidden cells values
are set to null.

I can do it by looping over all rows, but its extremely slow.

I'm hoping I can copy the range, set hidden rows to null and use get_Value
to put it in an array quickly.


"Allllen" wrote:

you can't select a cell if it is hidden...

what are you trying to do?
--
Allllen


"ALV" wrote:

I know you can select visible cells with:

Range.SpecialCells(Excel.XlCellType.xlCellTypeVisi ble).Select

Is there a way to select the opposite of that? Just selecting the hidden
cells.

Thanks.

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
Up down arrow keys do not select cells if select locked cells unch roandrob Excel Discussion (Misc queries) 3 May 18th 09 12:48 AM
drag data vertically over hidden cells.. ignore hidden cells Derwood Excel Discussion (Misc queries) 1 March 6th 08 10:59 PM
How do I paste hidden cells and keep them hidden? steven345 Excel Discussion (Misc queries) 0 January 30th 06 05:50 PM
How to select all hidden text boxes Manish M Kankaria Excel Discussion (Misc queries) 2 January 12th 06 09:51 AM


All times are GMT +1. The time now is 05:09 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"