That’s just the syntax Application.Run expects. If you set a reference to the other project, then you could just use:
UnderDevelopment.Macro1
![]() |
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 |
-
Application.Run (VBA/Excel/2003)
Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Application.Run (VBA/Excel/2003)
- This topic has 4 replies, 3 voices, and was last updated 16 years, 10 months ago.
AuthorTopicViewing 1 reply threadAuthorReplies-
Don Wells
AskWoody LoungerJuly 4, 2008 at 11:32 pm #1115705(Edited by wdwells on 05-Jul-08 07:32. ‘Application’ spelling corrected.)
I have a workbook:
File name: Book1.xls
Project name: UnderDevelopmentFrom a different project, the command:
Application.Run “Book1.xls!Module1.Macro1” is successful, but the command
Application.Run “UnderDevelopment.Macro1” failsCan someone please explain where I have gone wrong?
T.I.A.
-
Don Wells
AskWoody Lounger -
WSHansV
AskWoody LoungerJuly 5, 2008 at 12:05 am #1115719You can put single quotes around the workbook name:
Application.Run "'Test File.xls'!Module1.Macro1"
BTW if the name Macro1 is unique within Test File.xls, you can omit the module name:
Application.Run "'Test File.xls'!Macro1"
However, if you have several modules containing a macro named Macro1, the module name is required. -
Don Wells
AskWoody Lounger
-
-
Viewing 1 reply thread -

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
-
Does windows update component store “self heal”? (Awaiting moderation)
by
Mike Cross
4 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
21 minutes ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
53 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
28 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
3 hours, 3 minutes ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
3 hours, 5 minutes ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
10 hours, 6 minutes ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
11 hours, 12 minutes ago -
0Patch, where to begin
by
cassel23
5 hours, 14 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
1 day ago -
89 million Steam account details just got leaked,
by
Alex5723
12 hours, 35 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
1 day, 9 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
1 day ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
11 hours, 29 minutes ago -
Installer program can’t read my registry
by
Peobody
6 hours, 27 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
22 hours, 9 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
1 day, 5 hours ago -
False error message from eMClient
by
WSSebastian42
1 day, 20 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
2 days, 5 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
2 days, 6 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
1 day, 3 hours ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
2 days, 10 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
1 day, 11 hours ago -
Outdated Laptop
by
jdamkeene
2 days, 15 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days, 21 hours ago -
Another big Microsoft layoff
by
Charlie
2 days, 20 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
18 hours, 13 minutes ago -
May 2025 updates are out
by
Susan Bradley
40 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
3 days, 2 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
3 days, 2 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.