View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default please help in this program_3

Homework?

--
Don Guillett
SalesAid Software

"TheGodfather" wrote in message
oups.com...
Excel background
IN a new workbook. Insert several sheets (also use Macro Recorder
while you do it, to see how it works). Rename the sheets so that you
have one sheet called "H", a few sheets with names like P-1, P-4 etc,
and a few sheets named A-1,
A-3 etc. And one more sheet, named "Table". Shuffle the sheets around,
changing their order (right-click on the sheet tab. Use Macro
recorder).

VBA Task 1
Use VBA to hide sheet "H".
Continue, in the same macro, by protecting all the sheets whose name
starts with "P". Study a bit the Excel help on sheet protection.
Finally, in the sheet called "Table", use VBA to create a two column
table. The table should list all sheets, but grouped according to
Hidden, Protected, Untouched (the last one means we did nothing with
the sheet). First column should contain the sheet name and second
column the classification. Beware, in the output the sheets must be
grouped.