Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Ok what's the trick to do this?

I have a VBA program that takes data from similarly formatted
sheets, and present the data onto one sheet, as seen below as
an example

TestNum Value State
1 10 On
4 Off
2 Off
2 8 On
5 On
2 Off

Now I want to be fancy and put a drop-down list on the TestNum
cell so users can choose a certain TestNum and ONLY data for that
TestNum will be show, as seen below if TestNum=2 is chosen

TestNum Value State
2 8 On
5 On
2 Off

However, by default, I want to show ALL test data. Is this easily done
in VBA?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Ok what's the trick to do this?

Actually the drop-down list is on the cell below the TestNum column
header. If a user selects "All" this cell will show "1" instead of "All"
after the data is displayed. If a user selects a certain test number,
the cell content will remain that test number. I don't know if this
is possible.

"Net Doe" wrote in message
...
I have a VBA program that takes data from similarly formatted
sheets, and present the data onto one sheet, as seen below as
an example

TestNum Value State
1 10 On
4 Off
2 Off
2 8 On
5 On
2 Off

Now I want to be fancy and put a drop-down list on the TestNum
cell so users can choose a certain TestNum and ONLY data for that
TestNum will be show, as seen below if TestNum=2 is chosen

TestNum Value State
2 8 On
5 On
2 Off

However, by default, I want to show ALL test data. Is this easily done
in VBA?





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
That did the trick Cindy Nealon Excel Discussion (Misc queries) 0 February 23rd 10 04:06 PM
Neat Trick Frank Pytel Excel Discussion (Misc queries) 4 April 21st 08 09:20 PM
Sharing a neat trick MartinW Excel Discussion (Misc queries) 6 July 9th 07 12:52 AM
Another avoid the loop trick request - on fast fill (Maybe an Alan trick) [email protected] Excel Programming 2 October 6th 04 07:13 PM


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