Buttons

  • Thread starter Thread starter John Lake
  • Start date Start date
J

John Lake

I am using excel 2000 on win xp.

Have created a spredsheet of clothing inventory. Is it
possible to have buttons at the top of the page i.e.
inches and cms that when clicked on will display the
clothing sizes in either inches or cms?? or is there a
better way all together??

Would be very grateful of your help.

Many thanks

John Lake
 
just a suggestion - it might be easier if you consider having tw
separate columns, one with inches and one with centimetres
 
to do as you want, you might have to create 2 columns with
inched in one column(example column K) and cms in the other
(example column L).
You could then creat a button and put this code behind it.
sub macShowHideColumn
If Columns("L:L").Hidden = True Then
Columns("K:K").Hidden = True
Columns("L:L").Hidden = False
Else
Columns("K:K").Hidden = False
Columns("L:L").Hidden = True
End If
end sub
This code would cause one of the columns to be hidden.
clicking the button would unhide the hidden column and
hide the unhidden column.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top