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
![]() |
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 |
-
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
-
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
11 minutes ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
2 hours, 20 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
2 hours, 45 minutes ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
6 hours, 32 minutes ago -
simple general stupid question
by
WSaltamirano
32 minutes ago -
Automatic Toggle code for pages and bookmarks for Table of Content (Awaiting moderation)
by
switchtolinux
10 hours, 54 minutes ago -
April 2025 Office non-Security updates
by
PKCano
2 hours, 38 minutes ago -
Microsoft wants to hear from you
by
Will Fastie
18 hours, 46 minutes ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
21 hours, 7 minutes ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
1 day, 2 hours ago -
Test post
by
Susan Bradley
1 day, 4 hours ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
1 day, 6 hours ago -
SSD shuts down on its own
by
CWBillow
21 hours, 57 minutes ago -
OneDrive File Sharing Changes
by
David Clark
1 day, 14 hours ago -
OneDrive File Sharing Changes
by
David Clark
1 day, 16 hours ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
16 hours, 43 minutes ago -
Today is world backup day
by
Alex5723
1 day, 8 hours ago -
Windows .exe on Mint
by
Slowpoke47
1 day, 18 hours ago -
Reviewing your licensing options
by
Susan Bradley
1 day, 3 hours ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
13 hours, 30 minutes ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
9 hours, 21 minutes ago -
Making sense of Settings in Windows 11
by
Simon Bisson
10 hours, 40 minutes ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
1 day, 14 hours ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
1 day, 12 hours ago -
YouTube Ad Blocker Blocker
by
bbearren
1 day, 12 hours ago -
Obscure historical facts about Windows
by
Cybertooth
1 day, 14 hours ago -
Microsoft Backup
by
Linda2019
1 day, 5 hours ago -
What is the best notepad++ version for W7?
by
Picky
1 day, 13 hours ago -
What are right steps to move MS 365 Office+OneDrive files from PC to iMac?
by
glnz
2 days, 22 hours ago -
How to move existing MS 365 Office with OneDrive files from PC to new iMac
by
glnz
2 days, 22 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
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.