Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Hiding columns in VB

Trying to hide columns within my code and I am getting the
error "Unable to set the hidden property", when trying to
manually hide them within Excel I get the error "Cannot
shift objects off sheet".

There are merged cells within the range, however I get the
same error, even if I unmerge them. This is a very large
workbook, and this particular sheet is no exception.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Hiding columns in VB

No such luck. The last column used is HA, and Ctrl+End
returns the same column.


-----Original Message-----
You probably have something using all the columns.
use ctrl/end to find your last. Delete unneeded

rows/columns and SAVE.

--
Don Guillett
SalesAid Software

"Rick B" wrote in

message
...
Trying to hide columns within my code and I am getting

the
error "Unable to set the hidden property", when trying

to
manually hide them within Excel I get the error "Cannot
shift objects off sheet".

There are merged cells within the range, however I get

the
same error, even if I unmerge them. This is a very

large
workbook, and this particular sheet is no exception.




.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Hiding columns in VB

Nope, I unprotect before hiding/unhiding columns in the
code. It was also unprotected when I tried to manually do
it in Excel.


-----Original Message-----
Is the sheet protected? If so, try unprotecting first.

--
Don Guillett
SalesAid Software

"Rick B" wrote in

message
...
No such luck. The last column used is HA, and Ctrl+End
returns the same column.


-----Original Message-----
You probably have something using all the columns.
use ctrl/end to find your last. Delete unneeded

rows/columns and SAVE.

--
Don Guillett
SalesAid Software

"Rick B" wrote in

message
...
Trying to hide columns within my code and I am

getting
the
error "Unable to set the hidden property", when

trying
to
manually hide them within Excel I get the

error "Cannot
shift objects off sheet".

There are merged cells within the range, however I

get
the
same error, even if I unmerge them. This is a very

large
workbook, and this particular sheet is no exception.




.



.



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Hiding columns in VB

Found it. There were cells that had comments, and the
properties were set to "Don't move or size with cells".
First time I have ever run into that problem.

Thanks for the help.

Rick
-----Original Message-----
Is the sheet protected? If so, try unprotecting first.

--
Don Guillett
SalesAid Software

"Rick B" wrote in

message
...
No such luck. The last column used is HA, and Ctrl+End
returns the same column.


-----Original Message-----
You probably have something using all the columns.
use ctrl/end to find your last. Delete unneeded

rows/columns and SAVE.

--
Don Guillett
SalesAid Software

"Rick B" wrote in

message
...
Trying to hide columns within my code and I am

getting
the
error "Unable to set the hidden property", when

trying
to
manually hide them within Excel I get the

error "Cannot
shift objects off sheet".

There are merged cells within the range, however I

get
the
same error, even if I unmerge them. This is a very

large
workbook, and this particular sheet is no exception.




.



.

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
Hiding Columns SnareHiHat Excel Discussion (Misc queries) 2 October 16th 09 02:10 PM
Hiding Columns Gord Dibben Excel Discussion (Misc queries) 0 February 25th 09 08:49 PM
hiding columns [email protected] Excel Discussion (Misc queries) 3 July 12th 06 04:42 PM
Hiding Columns belony Excel Discussion (Misc queries) 4 June 15th 05 12:27 AM
Hiding columns Adam Excel Discussion (Misc queries) 2 March 31st 05 05:07 PM


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