Switching off 'Save preview picture' in Excel

B

Bostjan

Hi!

Is it possible to swith off the option to save preview
picture (File-Properties) with a macro?

I'm automatically converting XLS files to HTML and
if 'Save preview picture' is enabled, then WMF and
filelist files are also created in a subfolder.

I could of course simply delete those subfolders, but I
usually convert a lot of files. Besides - I cannot simply
detect the files that create subfolders at conversion for
other reasons (eg. have data on several sheets).

Thanks,
Bostjan
 
B

Bill Manville

Bostjan said:
Is it possible to swith off the option to save preview
picture (File-Properties) with a macro?

Better late than never?


Sub NoPreviewPic()
SendKeys "^{PGUP}^{HOME}^{PGDN}+{TAB}+{TAB}+{TAB}-{TAB}{ENTER}"
Application.Dialogs(xlDialogProperties).Show
End Sub

Yuk!
I've submitted a request for programmatic access to this setting.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup
 

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