-
WSjstevens
AskWoody LoungerI found the issue with the Scheduled Tasks failing. It is related to the drive mapping where the Schedule Task envokes Excel to open Excel files. There is a generic service account that runs the Scheduled Tasks when Users are logged off the server.
The task points to an Excel file in a mapped drive. To keep this post short, the drive letter was swapped out with the UNC of the server and all things are good.
Regards,
John -
WSjstevens
AskWoody LoungerExactly what I was looking for.
Thanks,
John -
WSjstevens
AskWoody LoungerRory,
Taking this one step further, I created an array of the 53 properties and would like to pass each of the 53 properties to the “Debug.Print” line.
My code looks like this:
[codebox]Function ListMembers(strDomainName As String, strGroupName As String)
Dim objGroup, objMember As Object
Dim myArraySet objGroup = GetObject(“WinNT://” & strDomainName & “/” & strGroupName & “,group”)
myArray = Array(“FullName”, “Name”) ‘Kept the 53 properties to two for testing purposes
For Each objMember In objGroup.Members
With objMember
Debug.Print objMember.FullName ‘This Line works without variable from array being passed through
Debug.Print objMember & “.” & myArray(1) ‘This is where I get hung up
End With
Next objMember
[/codebox]
‘more code follows…Thanks for your assistance,
John -
WSjstevens
AskWoody LoungerAlthough you can set references using VBA, it’s probably easier just to late bind if you have to support multiple versions.
Rory,
I’m not sure what you mean by “late bind”.
Regards,
John -
WSjstevens
AskWoody LoungerFor Each objMember In objGroup.Members
Debug.Print objMember.Name
Next objMember
HTHRory,
What other objMember definitions are available to the members? I know that one can obtain objMember.Name and objMember.FullName.
Thanks,
John -
WSjstevens
AskWoody LoungerThanks I’ll have to give it a try when I have an opportunity.
Regards,
John -
WSjstevens
AskWoody LoungerHans,
I was able to come up with a work around where instead of copying the row; copy a range.
In the example it would be Range(“A8:E8”). This over comes the group challenge.
Thank you,
John -
WSjstevens
AskWoody LoungerHans,
The example file had only one grouping; my file has many groups. By using the line of code to “ClearOUtline”, it removes all groupings. I’m interested in just that one grouping.
Regards,
John -
WSjstevens
AskWoody LoungerYour suggestion worked just fine.
Thank you,
John -
WSjstevens
AskWoody LoungerOnly cells that contain text ie not blank cells, numbers or dates.
Regards,
John -
WSjstevens
AskWoody LoungerI found a solution where one can use Find & Replace (Ctrl-H).
I am still curious if it can be done by code.
John
-
WSjstevens
AskWoody LoungerHans,
I was leaning towards your suggestion but I thought I would ask.
Regards,
John -
WSjstevens
AskWoody LoungerHans,
Your suggestion works.
Thank you,
John -
WSjstevens
AskWoody Loungerdont know whether it will work or not but you should try offset instead of AND/OR.
If you leave the SeperationMonth blank, then nothing is distributed.
Regards,
John -
WSjstevens
AskWoody LoungerPlease bring back Monty Python and Spam.
Regards,
John
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Windows AI Local Only no NPU required!
by
RetiredGeek
2 hours, 45 minutes ago -
Stop the OneDrive defaults
by
CWBillow
5 hours, 48 minutes ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
8 hours, 13 minutes ago -
X Suspends Encrypted DMs
by
Alex5723
10 hours, 25 minutes ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
10 hours, 43 minutes ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
11 hours, 20 minutes ago -
OpenAI model sabotages shutdown code
by
Cybertooth
11 hours, 57 minutes ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
7 minutes ago -
Enabling Secureboot
by
ITguy
7 hours, 7 minutes ago -
Windows hosting exposes additional bugs
by
Susan Bradley
19 hours, 52 minutes ago -
No more rounded corners??
by
CWBillow
15 hours, 40 minutes ago -
Android 15 and IPV6
by
Win7and10
5 hours, 25 minutes ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
1 day, 8 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
1 day, 10 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
1 day, 5 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
1 day, 18 hours ago -
May preview updates
by
Susan Bradley
1 day, 5 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
21 hours, 12 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
1 day, 10 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
1 day, 7 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
9 hours, 40 minutes ago -
At last – installation of 24H2
by
Botswana12
2 days, 9 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
6 hours, 27 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
2 days, 21 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
20 hours, 23 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
3 days, 11 hours ago -
Another test post
by
gtd12345
3 days, 11 hours ago -
Connect to someone else computer
by
wadeer
3 days, 5 hours ago -
Limit on User names?
by
CWBillow
3 days, 9 hours ago -
Choose the right apps for traveling
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.