Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Looping folder changing - Save Preview Picture


Hi,

I know how to loop through a folder and change something on the
worksheets therein.
On the Properties window theres a place named "Save Preview Picture"
with a check box.

I'm looking for some code, i can use in my looping code, to check
and/or uncheck this feature.

something like:
wb.BuiltinDocumentProperties("Save Preview Picture") = "put check
in box"

I know this won't work i am using it as a example of what i'm looking
for.
thx
Dave


--
Piranha
------------------------------------------------------------------------
Piranha's Profile: http://www.excelforum.com/member.php...o&userid=20435
View this thread: http://www.excelforum.com/showthread...hreadid=472383

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Looping folder changing - Save Preview Picture

Hi Dave,

Based on a solution propoed by Bill Manville at:

http://tinyurl.com/c7vhb

Try:

Sub AddPreviewPic()
SendKeys "^{PGUP}^{HOME}^{PGDN}+{TAB}+{TAB}+" _
& "{TAB}-{TAB}%v{ENTER}"
Application.Dialogs(xlDialogProperties).Show
End Sub


---
Regards,
Norman



"Piranha" wrote in
message ...

Hi,

I know how to loop through a folder and change something on the
worksheets therein.
On the Properties window theres a place named "Save Preview Picture"
with a check box.

I'm looking for some code, i can use in my looping code, to check
and/or uncheck this feature.

something like:
wb.BuiltinDocumentProperties("Save Preview Picture") = "put check
in box"

I know this won't work i am using it as a example of what i'm looking
for.
thx
Dave


--
Piranha
------------------------------------------------------------------------
Piranha's Profile:
http://www.excelforum.com/member.php...o&userid=20435
View this thread: http://www.excelforum.com/showthread...hreadid=472383



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Looping folder changing - Save Preview Picture


Hi Norman,
Thx much for this. This code checks the box. Also at the url you
provided
was the code to uncheck the box.

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

Thx again
Dave
Norman Jones Wrote:
Hi Dave,

Based on a solution propoed by Bill Manville at:

http://tinyurl.com/c7vhb

Try:

Sub AddPreviewPic()
SendKeys "^{PGUP}^{HOME}^{PGDN}+{TAB}+{TAB}+" _
& "{TAB}-{TAB}%v{ENTER}"
Application.Dialogs(xlDialogProperties).Show
End Sub


---
Regards,
Norman



"Piranha" wrote
in
message ...

Hi,

I know how to loop through a folder and change something on the
worksheets therein.
On the Properties window theres a place named "Save Preview Picture"
with a check box.

I'm looking for some code, i can use in my looping code, to check
and/or uncheck this feature.

something like:
wb.BuiltinDocumentProperties("Save Preview Picture") = "put check
in box"

I know this won't work i am using it as a example of what i'm

looking
for.
thx
Dave


--
Piranha

------------------------------------------------------------------------
Piranha's Profile:
http://www.excelforum.com/member.php...o&userid=20435
View this thread:

http://www.excelforum.com/showthread...hreadid=472383



--
Piranha
------------------------------------------------------------------------
Piranha's Profile: http://www.excelforum.com/member.php...o&userid=20435
View this thread: http://www.excelforum.com/showthread...hreadid=472383

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 Default to Save Preview Picture hawaiiham2000 Excel Discussion (Misc queries) 1 December 1st 09 04:30 PM
changing folder order in File Save LDBlanes Excel Discussion (Misc queries) 2 January 10th 07 07:06 PM
Wish to apply "Save Preview Picture" in 300 files. Carolyn Crandall Excel Discussion (Misc queries) 0 March 30th 05 09:09 PM
save picture in worksheet into certain folder wiwi[_2_] Excel Programming 0 December 29th 03 02:39 PM
Switching off 'Save preview picture' in Excel Bostjan Excel Programming 1 December 11th 03 07:22 AM


All times are GMT +1. The time now is 02:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"