Adding meta tags to Excel web pages?

M

MelB

Does anyone know a way of including a META tag within a saved
spreadsheet? I have a macro that creates an HTML file. I need to add
one tag to get the web page to refresh every 10 minutes, however once
the web page is republished the code is overwritten.
<meta http-equiv="Refresh" content="600">
 
N

NickHK

Don't know about anything directly, but you could do it in the _BeforeSave
event.
- .SaveAs HTML
- Open TheFile For InPut As #Num
- Read the text file
- Edit with your meta tags
- Write back to disk
- Cancel=True to cancel Excel's save

NickHK
 

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

Similar Threads


Top