Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA to select rows based on selection

I have a workbook with multiple sheets.

One sheet is a selection page, containing multiple tick boxes

I would like to display/hide certain rows on another sheet, based on what
was selected (ticked) on the first sheet.

Have searched on the web for the last week or so, to no avail. It's driving
me insane!

Any help would be more than welcome. Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,117
Default VBA to select rows based on selection

something like this (you haven't provided many details):

if checkbox1.value = true then
activeworkbook.worksheets(2).range("a1").entirerow .hidden = true
else
activeworkbook.worksheets(2).range("a1").entirerow .hidden = false
end if

maybe it gets you started........ i assume that checkbox1 is on the
activesheet, and the rows you want hidden/not hidden are on
worksheet(2).
susan



On Oct 20, 12:15*pm, HowOnEarthDoI
wrote:
I have a workbook with multiple sheets.

One sheet is a selection page, containing multiple tick boxes

I would like to display/hide certain rows on another sheet, based on what
was selected (ticked) on the first sheet.

Have searched on the web for the last week or so, to no avail. It's driving
me insane!

Any help would be more than welcome. Thanks.


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
Select rows based on keyword? Niniel Excel Discussion (Misc queries) 14 September 21st 07 08:18 PM
Deleting Rows Based Upon ListBox Selection Paige Excel Programming 6 August 23rd 07 09:38 PM
Delete Multiple Rows based on Selection Kevin O'Neill[_2_] Excel Programming 3 January 4th 06 06:37 PM
Select rows based on criteria sotiris_s Excel Worksheet Functions 4 November 14th 05 12:35 PM
Hide Rows based on Time Selection in timesheet. thom hoyle Excel Programming 7 May 2nd 05 10:19 PM


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