Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What are some clean ways of handling Record xxx of yyy, and also scroll bar
functions if you are turning on and off filters and skipping hidden (the recognition of hidden is controlled by a button) I have some issues (they are minor compared to the functionality I have gained by controlling hidden rows!) issues with out of ranges, and beggining of file etc with my current scroll and record count/display functions. Here is the code I have for controlling the filters. Dim FiltOn As Boolean Private Sub CommandButton38_Click() FiltOn = True End Sub Private Sub CommandButton39_Click() FiltOn = False End Sub Private Sub SpinButton1_SpinDown() ActiveCell.Offset(1, 0).Select If FiltOn Then Do While Selection.Rows.Hidden = True ActiveCell.Offset(1, 0).Select Loop End If SetForeColor 'conditional formating based on value of offset 43 FillMyForm1 End Sub Private Sub SpinButton1_Spinup() ActiveCell.Offset(-1, 0).Select If FiltOn Then Do While Selection.Rows.Hidden = True ActiveCell.Offset(-1, 0).Select Loop End If SetForeColor 'conditional formating based on value of offset 43 FillMyForm1 End Sub Thanks! Bruce |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
scroll bars | Excel Worksheet Functions | |||
Scroll bars | Excel Discussion (Misc queries) | |||
Controlling Userforms | New Users to Excel | |||
Scroll bars | Excel Discussion (Misc queries) | |||
Help with Userforms and filters or autofilters | Excel Programming |