LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
PO PO is offline
external usenet poster
 
Posts: 66
Default Cannot hide columns/rows

Excel 2003, sp2

Hi,

I'm trying to hide columns X:IV so that the user only can see columns A:W.
However Selection.EntireColumn.Hidden = True raises an error - "The hidden
property cannot be set for the range class" (roughly translated from
swedish). As far as I can see there aren't any objects in those columns. I
also tried selection.clear but it still doesn't work. The area is totaly
empty. If I try to hide the columns manualy from within excel I get the
error message "Object cannot be moved outside sheet".

Any ideas?

Regards
Pete


 
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
Hide columns but not the top rows Oceangate Excel Discussion (Misc queries) 8 November 25th 08 05:46 PM
Hide rows when specified columns equal zero Han123 Excel Discussion (Misc queries) 1 June 7th 08 04:31 AM
Hide columns and rows delete automatically Excel Worksheet Functions 2 September 25th 07 12:49 AM
Auto Hide Columns & Rows appeng Excel Discussion (Misc queries) 2 March 25th 05 04:43 PM
Hide Rows and Columns Stuart Steven Excel Programming 5 July 17th 04 04:46 AM


All times are GMT +1. The time now is 01:36 PM.

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"