-
WSHenrik Ryberg
AskWoody LoungerRDO,
You can add a reference to the XLA or call it this way
application.Run “OtherWorkbookName.xla!Macro1”I know this works with .xls files but don’t know if it will transfer to
.xla’s.RG
Thanks RG.
But from tests so far and based on the documentation, I don’t think this method will work. From below extract from the documentation .run only passes parameters as values.
“Remarks
You cannot use named arguments with this method. Arguments must be passed by position.The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.”
-
WSHenrik Ryberg
AskWoody LoungerRDO,
You can add a reference to the XLA or call it this way
application.Run “OtherWorkbookName.xla!Macro1”I know this works with .xls files but don’t know if it will transfer to
.xla’s.RG
Thanks RG.
But from tests so far and based on the documentation, I don’t think this method will work. From below extract from the documentation .run only passes parameters as values.
“Remarks
You cannot use named arguments with this method. Arguments must be passed by position.The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.”
-
WSHenrik Ryberg
AskWoody LoungerRDO,
You can add a reference to the XLA or call it this way
application.Run “OtherWorkbookName.xla!Macro1”I know this works with .xls files but don’t know if it will transfer to
.xla’s.RG
Thanks RG.
But from tests so far and based on the documentation, I don’t think this method will work. From below extract from the documentation .run only passes parameters as values.
“Remarks
You cannot use named arguments with this method. Arguments must be passed by position.The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.”
-
WSHenrik Ryberg
AskWoody LoungerRDO,
You can add a reference to the XLA or call it this way
application.Run “OtherWorkbookName.xla!Macro1”I know this works with .xls files but don’t know if it will transfer to
.xla’s.RG
Thanks RG.
But from tests so far and based on the documentation, I don’t think this method will work. From below extract from the documentation .run only passes parameters as values.
“Remarks
You cannot use named arguments with this method. Arguments must be passed by position.The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.”
-
WSHenrik Ryberg
AskWoody LoungerRDO,
You can add a reference to the XLA or call it this way
application.Run “OtherWorkbookName.xla!Macro1”I know this works with .xls files but don’t know if it will transfer to
.xla’s.RG
Thanks RG.
But from tests so far and based on the documentation, I don’t think this method will work. From below extract from the documentation .run only passes parameters as values.
“Remarks
You cannot use named arguments with this method. Arguments must be passed by position.The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.”
-
WSHenrik Ryberg
AskWoody LoungerRDO,
You can add a reference to the XLA or call it this way
application.Run “OtherWorkbookName.xla!Macro1”I know this works with .xls files but don’t know if it will transfer to
.xla’s.RG
Thanks RG.
But from tests so far and based on the documentation, I don’t think this method will work. From below extract from the documentation .run only passes parameters as values.
“Remarks
You cannot use named arguments with this method. Arguments must be passed by position.The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.”
-
WSHenrik Ryberg
AskWoody LoungerRDO,
You can add a reference to the XLA or call it this way
application.Run “OtherWorkbookName.xla!Macro1”I know this works with .xls files but don’t know if it will transfer to
.xla’s.RG
Thanks RG.
But from tests so far and based on the documentation, I don’t think this method will work. From below extract from the documentation .run only passes parameters as values.
“Remarks
You cannot use named arguments with this method. Arguments must be passed by position.The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.”
-
WSHenrik Ryberg
AskWoody LoungerRDO,
You can add a reference to the XLA or call it this way
application.Run “OtherWorkbookName.xla!Macro1”I know this works with .xls files but don’t know if it will transfer to
.xla’s.RG
Thanks RG.
But from tests so far and based on the documentation, I don’t think this method will work. From below extract from the documentation .run only passes parameters as values.
“Remarks
You cannot use named arguments with this method. Arguments must be passed by position.The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.”
-
WSHenrik Ryberg
AskWoody LoungerOK, so this is only when the date is 31-12-yy. Then by adding 1 day the year comparison actually gets “out of sync”, regardless that you are actually comparing the value to itself… – I like that – clever solution.
Thanks.
-
WSHenrik Ryberg
AskWoody LoungerHi Don,
Thanks for sharing the insights. It’s a refreshing different approach and a lot more simple than my initial one. So I think it looks really good.
A single question to the formula in Row 15 though (taken from cell F15):
=F11&” “&IF(YEAR(I10+1)YEAR(I10),
TEXT(YEAR(I10),”0000″),
TEXT(MOD(YEAR(I10)-1,100),”00″)&”/”&TEXT(MOD(YEAR(I10),100),”00”))The test in the IF condition (IF(YEAR(I10+1)YEAR(I10)…) – when will that ever be true, and if it won’t, why is it there in the first place??
I’ve tried to modify your suggestion further, but keep ending up in incorrect situations. So – so far what you’ve provided seems to be the most stable solution.
Thanks,
-
WSHenrik Ryberg
AskWoody LoungerDepending on how you are moving the files, you may be able to run a BAT file that uses cacls or Icals to modify the file permissions after you have moved them.
Hi Stu,
Thanks for the quick reply. I’m not quite familiar with cacls and Icals, can you elaborate a bit on that?? – please.
In fact a BAT that applies “Full control” to all files found in the “Main” folder would be sufficient
;o)
-
WSHenrik Ryberg
AskWoody LoungerNo, not that I know of, if you are talking about number formats?
hmmmmm
– thanks for the quick answers. Guess I’ll have to sleep on that one then. -
WSHenrik Ryberg
AskWoody LoungerI think the point is that there is no auto creation of named ranges (hence the lack of setting).
(other than built-in ones like querytable ranges, print areas etc.)
Maybe I’m confusing this with auto creation of styles in Excel as well…??
– is there a setting that turns this off? -
WSHenrik Ryberg
AskWoody LoungerI’m not aware of a setting that automatically creates defined names…
Hi hans,
I was more thinking it the other way around – a setting that could turn off the auto creation of defined names.
-
WSHenrik Ryberg
AskWoody LoungerDoes this look like a “safe” place to get it? This fella’s a MS MVP, so I would think it’s OK:
Hi Al,
Any particular reason why you chose Win2000 and not eg. Win XP or Vista??
– are there no resource kits there or is FORFILES not available for those?(Haven’t had time to look further into this – so apologies if it sounds like a dumb question)
TIA
![]() |
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
-
Teams lost all my Skype contacts (Awaiting moderation)
by
Lucy
2 hours, 26 minutes ago -
0Patch, where to begin
by
cassel23
6 hours, 22 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
9 hours, 22 minutes ago -
89 million Steam account details just got leaked,
by
Alex5723
17 hours, 46 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
17 hours, 55 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
8 hours, 53 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
11 hours, 17 minutes ago -
Installer program can’t read my registry
by
Peobody
2 hours, 15 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
6 hours, 40 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
14 hours, 1 minute ago -
False error message from eMClient
by
WSSebastian42
1 day, 5 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 14 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day, 15 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
11 hours, 56 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 18 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
19 hours, 53 minutes ago -
Outdated Laptop
by
jdamkeene
2 days ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days, 5 hours ago -
Another big Microsoft layoff
by
Charlie
2 days, 5 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
2 hours, 45 minutes ago -
May 2025 updates are out
by
Susan Bradley
4 hours, 37 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days, 11 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days, 11 hours ago -
Drivers suggested via Windows Update
by
Tex265
2 days, 11 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
7 hours, 21 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 18 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 12 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 19 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 20 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
1 day, 4 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.