Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default hide columns by column number

figured i'd start a new thread

how do i hide a range of columns using column numbers?

something like:
columns(7,10).hidden = true

rows work like this, why not columns
rows("1:2").select

--


Gary



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default hide columns by column number

i found a way
Range(Columns(firstCol), Columns(endCol)).Hidden = False

--


Gary


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
figured i'd start a new thread

how do i hide a range of columns using column numbers?

something like:
columns(7,10).hidden = true

rows work like this, why not columns
rows("1:2").select

--


Gary





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
Hide Rows or Columns with +/- button above row/column label headin WA Excel Worksheet Functions 3 April 5th 23 02:42 PM
Want to Hide columns in spreadsheet but NOT hide data in chart. KrispyData Charts and Charting in Excel 1 March 20th 09 04:45 PM
How do I turn excel columns from column number to column letter? column Setting up and Configuration of Excel 1 April 29th 08 10:15 AM
Hide Cell Row and column number alexm999 Excel Discussion (Misc queries) 1 December 1st 05 02:29 PM
Capturing the column number and # of columns in a selection Ralph Heidecke[_2_] Excel Programming 2 March 18th 05 06:27 PM


All times are GMT +1. The time now is 06:53 PM.

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"