I have several new reports that when I activate the report the VBA editor opens several minutes later. Why would that happen? Thank you. Fay
![]() |
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 |
-
VBA editor opens with report
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » VBA editor opens with report
- This topic has 2 replies, 3 voices, and was last updated 15 years, 1 month ago.
AuthorTopicWSFay Yocum
AskWoody LoungerFebruary 15, 2010 at 6:54 pm #466665Viewing 1 reply threadAuthorReplies-
WSjohnhutchison
AskWoody Lounger -
Andrew Webster
AskWoody PlusFebruary 18, 2010 at 8:22 am #1209793Back your database up first.
Next thing to do, open the VBA editor and Clear All Breakpoints (CTRL+SHIFT+F9). Now compile your application(Debug>Compile). Assuming you’ve got Option Explicit set and declared all variables properly, it should compile.
Run a Compact and Repair (depends on the Access version where you find this – use Help if not sure).
If your application is still hinky, then try a decompile. From the command line or from Start Menu, Run use
“C:Program FilesMicrosoft OfficeOfficeMSACCESS.EXE” “D:My DocumentsPath To My DatabaseMyDatabase.mdb” /decompile(Note if there’s a space in either path, you must use quotes. Replace with your actual paths, of course.)
Now do another Compact and Repair, then finally Compile again, and do a final Compact and Repair.
If that hasn’t fixed it, then create a fresh database, and import all your objects into it.
If that hasn’t fixed it, you’ll have to rebuild the report. Save the old version with a new name so you have it for reference.
Good luck.
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
-
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
17 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
1 hour, 37 minutes ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
9 hours, 18 minutes ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
1 day, 3 hours ago -
50 years and counting
by
Susan Bradley
56 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
10 hours, 15 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
1 day, 14 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
1 day, 14 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
1 day, 14 hours ago -
OneNote and MS Word 365
by
CWBillow
1 day, 16 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
1 day, 16 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
1 day, 16 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
1 day, 17 hours ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
2 days, 4 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
2 days, 4 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
2 days, 13 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
2 days, 1 hour ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
1 day, 2 hours ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
2 days, 22 hours ago -
Apple backports fixes
by
Susan Bradley
2 days, 5 hours ago -
Win 11 24H2 will not install
by
Michael1950
1 day, 2 hours ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
58 seconds ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
1 day, 11 hours ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
11 hours, 26 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
3 days, 13 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
2 days, 5 hours ago -
simple general stupid question
by
WSaltamirano
3 days, 11 hours ago -
April 2025 Office non-Security updates
by
PKCano
4 days, 4 hours ago -
Microsoft wants to hear from you
by
Will Fastie
1 day, 19 hours ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
4 days, 7 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.