hiding excel button for web page

Joined
Jun 19, 2006
Messages
4
Reaction score
0
I have created a excel button/macro that saves my worksheet as a web page and then again as my excel worksheet and then closes out excel. I would like to be able to hide the button for viewing the web page but have it appear in the workbook format. Any suggestions?
 
Joined
Jun 14, 2006
Messages
27
Reaction score
0
Hide button

Hi eclark62

add this line of code to the section just before the 'save as' *.htm

ActiveWorkbook.DisplayDrawingObjects = xlHide

then just after the 'save as' add

ActiveWorkbook.DisplayDrawingObjects = xlAll

Regards

Zoddy
 

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

Top