-
WSPaul Lautman
AskWoody LoungerHi Hans,
Two questions spring to mind:
- The online help that I am used to does not have an answer wizard. Can you point me to the one that you are looking at?
- What screenshot?
-
WSPaul Lautman
AskWoody LoungerHi Hans,
Two questions spring to mind:
- The online help that I am used to does not have an answer wizard. Can you point me to the one that you are looking at?
- What screenshot?
-
WSPaul Lautman
AskWoody LoungerThat one is really neat.
The help suggests that array constants can only be used in array formulas when it says:
“In an ordinary formula, you can enter a reference to a cell containing a value, or the value itself, also called a constant. Similarly, in an array formula you can enter a reference to an array, or enter the array of values contained within the cells, also called an array constant. Array formulas accept constants in the same way that nonarray formulas do, but you must enter the array constants in a certain format.”
So I’m a bit surprised to find it working in a non-array formula???
-
WSPaul Lautman
AskWoody LoungerThat one is really neat.
The help suggests that array constants can only be used in array formulas when it says:
“In an ordinary formula, you can enter a reference to a cell containing a value, or the value itself, also called a constant. Similarly, in an array formula you can enter a reference to an array, or enter the array of values contained within the cells, also called an array constant. Array formulas accept constants in the same way that nonarray formulas do, but you must enter the array constants in a certain format.”
So I’m a bit surprised to find it working in a non-array formula???
-
WSPaul Lautman
AskWoody LoungerOh don’t say that
. It was a work of art.
I was just trying to put the icing on the cake!
The code that you posted does the job excellently.
-
WSPaul Lautman
AskWoody LoungerOh don’t say that
. It was a work of art.
I was just trying to put the icing on the cake!
The code that you posted does the job excellently.
-
WSPaul Lautman
AskWoody LoungerApplication.ScreenUpdating doesn’t seem to work.
As I say, normally with OLE, one sets the target application’s Visible property to false.
-
WSPaul Lautman
AskWoody LoungerApplication.ScreenUpdating doesn’t seem to work.
As I say, normally with OLE, one sets the target application’s Visible property to false.
-
WSPaul Lautman
AskWoody LoungerWell after posting my question about the variable i I realised that you used it for obtaining unique names! Just me being slow.
Anyway, since each of the presentations already has a name, I altered your code slightly to use the existing name. I also removed the selection of A1. Was there a special reason for this?
Now, unlike you and Andrew, when I run your code, I don’t appear to have an instance of PowerPoint still running (at least I cannot see one in the Task Manager).
One more question springs to mind. Is there anyway to have this running invisibly? Normally when one uses OLE, one can set the visible property of the application to False. But I can’t seem to get this to work anywhere in your snippet???
Here is what I have ended up with:
Sub ExportPPT() Const strFile = "C:Test" Dim wsh As Worksheet Dim obj As OLEObject Dim ppt As PowerPoint.Application Set wsh = ActiveSheet For Each obj In wsh.OLEObjects If Left(obj.progID, 10) = "PowerPoint" And obj.OLEType = xlOLEEmbed Then obj.Activate Set ppt = obj.Object.Application ppt.ActivePresentation.SaveAs strFile & ppt.ActivePresentation.Name & ".ppt" ppt.Quit Set ppt = Nothing End If Next Set obj = Nothing Set wsh = Nothing End Sub
-
WSPaul Lautman
AskWoody LoungerWell after posting my question about the variable i I realised that you used it for obtaining unique names! Just me being slow.
Anyway, since each of the presentations already has a name, I altered your code slightly to use the existing name. I also removed the selection of A1. Was there a special reason for this?
Now, unlike you and Andrew, when I run your code, I don’t appear to have an instance of PowerPoint still running (at least I cannot see one in the Task Manager).
One more question springs to mind. Is there anyway to have this running invisibly? Normally when one uses OLE, one can set the visible property of the application to False. But I can’t seem to get this to work anywhere in your snippet???
Here is what I have ended up with:
Sub ExportPPT() Const strFile = "C:Test" Dim wsh As Worksheet Dim obj As OLEObject Dim ppt As PowerPoint.Application Set wsh = ActiveSheet For Each obj In wsh.OLEObjects If Left(obj.progID, 10) = "PowerPoint" And obj.OLEType = xlOLEEmbed Then obj.Activate Set ppt = obj.Object.Application ppt.ActivePresentation.SaveAs strFile & ppt.ActivePresentation.Name & ".ppt" ppt.Quit Set ppt = Nothing End If Next Set obj = Nothing Set wsh = Nothing End Sub
-
WSPaul Lautman
AskWoody LoungerThanks Hans, this looks good. I must have been almost there but I missed the ActivePresentation.
As a matter of interest, is there a good reason for using:
For i = 1 To wsh.OLEObjects.Count
Set obj = wsh.OLEObjects(i)As opposed to
For each obj in wsh.OLEObjects
-
WSPaul Lautman
AskWoody LoungerThanks Hans, this looks good. I must have been almost there but I missed the ActivePresentation.
As a matter of interest, is there a good reason for using:
For i = 1 To wsh.OLEObjects.Count
Set obj = wsh.OLEObjects(i)As opposed to
For each obj in wsh.OLEObjects
-
WSPaul Lautman
AskWoody LoungerWell,
thought I ought to update y’all on what I found.I did an IPCONFIG /ALL and discovered that the offending network adapter was the virtual network adapter set up by the VPN client that I use (AT&T Network Client).
Regarding the timing question, it would appear that the time logged in the even viewer is the time that the event kicks off. but it is not written until the event has completed.Anyway, as a test, I disabled the particular virtual network adapter in Network Connections before rebooting and then the only thing that held up my reboot was NAV sittting waiting with an exclamation mark on its icon. Wish I knew what caused that!
Thanks for all your help. John Gray’s pointer to the Event Viewer was just what I needed.
-
WSPaul Lautman
AskWoody LoungerWell,
thought I ought to update y’all on what I found.I did an IPCONFIG /ALL and discovered that the offending network adapter was the virtual network adapter set up by the VPN client that I use (AT&T Network Client).
Regarding the timing question, it would appear that the time logged in the even viewer is the time that the event kicks off. but it is not written until the event has completed.Anyway, as a test, I disabled the particular virtual network adapter in Network Connections before rebooting and then the only thing that held up my reboot was NAV sittting waiting with an exclamation mark on its icon. Wish I knew what caused that!
Thanks for all your help. John Gray’s pointer to the Event Viewer was just what I needed.
-
WSPaul Lautman
AskWoody LoungerI’m on a home wireless network. I don’t think the company’s network guys will be terribly interested.
Wierd thing is that the 2 minutes between events seems to occur AFTER the autoconfig has happened.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
89 million Steam account details just got leaked,
by
Alex5723
6 hours, 56 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
7 hours, 4 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
1 hour, 30 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
26 minutes ago -
Installer program can’t read my registry
by
Peobody
2 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
20 hours, 34 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
3 hours, 10 minutes ago -
False error message from eMClient
by
WSSebastian42
18 hours, 12 minutes ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 3 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day, 4 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
1 hour, 5 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 8 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
9 hours, 3 minutes ago -
Outdated Laptop
by
jdamkeene
1 day, 13 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 day, 18 hours ago -
Another big Microsoft layoff
by
Charlie
1 day, 18 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
21 hours, 57 minutes ago -
May 2025 updates are out
by
Susan Bradley
11 hours, 35 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days ago -
Drivers suggested via Windows Update
by
Tex265
2 days ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
1 day, 22 hours ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 7 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 1 hour ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 8 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 9 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
17 hours, 55 minutes ago -
No HP software folders
by
fpefpe
2 days, 17 hours ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
1 day, 14 hours ago -
Stay connected anywhere
by
Peter Deegan
2 days, 22 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.