#1   Report Post  
Junior Member
 
Posts: 4
Default Searchable archive

I am trying to create a searchable database with about three different search options. i.e. choose option A to allow options d,e,f to become available, Option B allows g,h,i, etc. I wasnt sure how to do this using excel, and I was hoping someone would be an excel wizard that could help me. I was thinking of using a userform and try it that way. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default Searchable archive


Your suggestion of a user form is a good one. You could set the change
event of your option A radio button to enable the radio buttons for
options D, E & F.

Something like

Private Sub OptionButton1_Change()
If OptionButton1.Value Then OptionButton2.Enabled = True Else
OptionButton2.Enabled = False
End Sub

Remember to put the option buttons in different frames


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=540387

  #3   Report Post  
Junior Member
 
Posts: 4
Default

I suppose a little more depth is required... I need to know how to reference the spreadsheet data from within a userform. Then have the search conditions insert the retrieved data from sheet1 and insert it into sheet 2, kind of... Any ideas?

Quote:
Originally Posted by mrice
Your suggestion of a user form is a good one. You could set the change
event of your option A radio button to enable the radio buttons for
options D, E & F.

Something like

Private Sub OptionButton1_Change()
If OptionButton1.Value Then OptionButton2.Enabled = True Else
OptionButton2.Enabled = False
End Sub

Remember to put the option buttons in different frames


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=540387
  #4   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default Searchable archive


If I understand you correctly, I would suggest that you call the user
form from within a macro. The form will need an OK button to confirm
the selection. The click macro for this button will need to use Me.Hide
to make the form disappear. In your main macro you can then test for the
values of the various option buttons and move data accordingly.


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=540387

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
Invalid Archive Pinkypinx Excel Discussion (Misc queries) 0 November 28th 05 01:43 PM
trying to archive need suggestions Bryan J Bloom Excel Worksheet Functions 0 November 2nd 05 10:28 PM
Need Archive help Bryan J Bloom Excel Discussion (Misc queries) 0 November 2nd 05 09:49 PM
Excel properties - 'archive'? Shedlord Excel Discussion (Misc queries) 0 August 2nd 05 05:09 PM
Archive John Hunt Excel Worksheet Functions 4 November 4th 04 02:14 AM


All times are GMT +1. The time now is 07:31 PM.

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"