LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Checkbox to hide/unhide named range

I have a chart embedded on a sheet and have named ranges that are plotted on
the chart. I would like for the user to be able to use a UserForm to select
the data series on the chart. I recorded this macro to try and learn the
code necessary. I have assigned it to a checkbox control, but don't know
how to hide or unhide the data when the box is checked/unchecked. Below is
the code. I would like the Row selection based on the "Name" to either be
hidden or visible. I will assign each checkbox to the series of data that
will be include on the chart.

Joel




Sub RemoveEarly()
'
Application.Goto Reference:="TARGETEARLY"
Selection.EntireRow.Hidden = True
End Sub


 
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 / Unhide Columns with checkbox Sige Excel Programming 4 May 9th 05 11:43 AM
hide or unhide pivotfield using a checkbox Richard[_33_] Excel Programming 0 February 10th 05 12:02 PM
Checkbox to hide and unhide rows Please. Steved Excel Worksheet Functions 2 December 6th 04 11:30 PM
hide / unhide range goss[_24_] Excel Programming 2 June 21st 04 12:17 PM
Checkbox Control to Hide/Unhide Worksheet Peter[_29_] Excel Programming 2 October 24th 03 05:00 PM


All times are GMT +1. The time now is 04:39 AM.

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"