Hi Bill,
It sounds like you can achieve what you need without touching VBA.
Features you can use are: Data Validation using Named Ranges, AutoFilters,
Recording Macro, Hiding Unhiding Columns, Changing Column Width and Sort
If this sounds cryptic, below is detailed expl. Also use Help on capitalized
words above
1. In empty sheet type in your values in column "A": a dozen manufacturers,
a few processor types, departments, floors, operating systems etc - one such
group under another, with a few blank rows between. This sheet you can call
Parms
2. Select one such group; extend perhaps by one row more at bottom
3. In a top left rectangular, where normally A1 etc appears type, say,
Manufacturers and hit Enter. You just created Named Range. Repeat for all
groups, give meaningful names.
4. In your main sheet, where you already have data for eventual filling in:
select a column of data, where 'policing' should occur, go menu
Data...Validation. In dialog box choose List and in the box below
type equal sign followed by Named Range e.g. =Manufacturers. Your main sheet
should now offer drop down list in relevant cells.
5. To view only some type data on the sheet use
menu..Data...Filter...Autofilter. Play with it.
6. Adjust the width of columns, hide and unhide them to present type of info
you want. E.g. hide most columns to show just AssetNo, Department, Operating
System - you can print such lists.
7. Switch on menu...Tools...Macros...Record New Macro while you manipulate
your columns. If you give macro a meaningful name it'll make life easier.
Your recorded macros can be assigned to toolbars and Menu.
Good luck!
BTW a glimpse of VBA you get after recording a macro: hit Alt+F11 and open
Module1 tree. You will see what code is generated from your column
manipulations. If you have full Office installed then Help will work.
highlight any word in code and hit F1. Use See Also blue link to surf the
VBA world.
HTH somebody
Paul
U¿ytkownik "Bill Burke said:
The spreadsheet is an inventory of +200 servers. I was able to piece together
partial information from serveral other sources, the rest I've gotten from doing
a physical inventory. I would like to create a GUI that automatically generates
a dropdown box (list box) from the values in one column. I would then like to
have several text boxes in the GUI that are associated with certain fields in
the spreadsheet. I would like to enter the data obtained from the physical
inventory into the appropriate text box then save the info to the spreadsheet.
TIA,
Bill Burke