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

The first worksheet in the workbook I am working on has
checkboxes with names representing columns on a second
worksheet. The first worksheet is Sheet1(Locations) and
the one im attempting to hide columns on is Sheet3
(Final_Report). Basically what I have to setup so far is
that that I have various worksheets ranging from 2004 to
2024 that keeps track of various monies in and out. The
Final_Report worksheet then takes all this information and
compiles it. What I am attempting to do via the first
sheet is via ComboBoxes and Checkboxes is to allow my Boss
to select a range of years and Locations(Orbit Offices)
that he wants a report on. Once he has selected the years
and offices he wants the reports on I want the non-
selected office columns on the final report to 'Hide'
themselves from being viewed. So basically my question is
how would I perse hide Column C on Sheet3(Final_Report)
when CheckBox1 on Sheet1(Locations) is not selected.
Thanks for any help with this.
Ascheman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Hiding columns in another Worksheet

If Sheets("Locations").CheckBox1.Value = False Then
Sheets("Final_Report").Columns("C:C").EntireColumn .Hidden = True
Else
Sheets("Final_Report").Columns("C:C").EntireColumn .Hidden = False
End If

Mike F
"Ascheman" wrote in message
...
The first worksheet in the workbook I am working on has
checkboxes with names representing columns on a second
worksheet. The first worksheet is Sheet1(Locations) and
the one im attempting to hide columns on is Sheet3
(Final_Report). Basically what I have to setup so far is
that that I have various worksheets ranging from 2004 to
2024 that keeps track of various monies in and out. The
Final_Report worksheet then takes all this information and
compiles it. What I am attempting to do via the first
sheet is via ComboBoxes and Checkboxes is to allow my Boss
to select a range of years and Locations(Orbit Offices)
that he wants a report on. Once he has selected the years
and offices he wants the reports on I want the non-
selected office columns on the final report to 'Hide'
themselves from being viewed. So basically my question is
how would I perse hide Column C on Sheet3(Final_Report)
when CheckBox1 on Sheet1(Locations) is not selected.
Thanks for any help with this.
Ascheman



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 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
Hiding columns scottwilsonx[_10_] Excel Programming 4 July 26th 04 01:23 PM
Hiding Columns Ruan[_3_] Excel Programming 0 November 13th 03 11:42 PM
Hiding columns in VB Rick B[_4_] Excel Programming 6 November 12th 03 07:22 PM


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