|
-
Sep 19th, 2005, 03:18 PM
#1
No events...
Recently, a strange problem has been afflicting me. When I create Userforms in Office and add controls thereto, double-clicking does not take me to the events sub for that object. Rather it takes me to the General Declarations section, and the object is not listed in the drop-down. Hence there is no way to add code t othat object, because the code window doesn't acknowledge that the object exists. A save and a restart can cure it, though.
Most peculiar...
-
Sep 19th, 2005, 03:25 PM
#2
Re: No events...
When you click on the left dropdown combo, do you see any of the controls you added?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 19th, 2005, 04:30 PM
#3
Re: No events...
Hey Rob,
In a "not-working" session, I can't see any of the controls I added in that session in the drop-down, but I can see all of the ones that were there when I loaded it up. It's as though the code window sticks itself at the point at which I loaded the file. I've tried typing the header in manually but it just keeps it in General Declarations; it doesn't associate it with the object.
Very strange.
-
Sep 19th, 2005, 04:39 PM
#4
Re: No events...
I have experienced the same thing, the problem occurs occasionally in Word XP VBA editor.
Only way i have got round it is the same as you. Saving & closing & re-opening the file seems to fix the problem.... for a while anyway !!
-
Sep 19th, 2005, 04:54 PM
#5
Re: No events...
Close your files and open the Office App only with no document or workbook. Then click Help > Detect and Repair and see if it helps. also a Office Update doesnt hurt either. If all else fails then try recreating the file and see if it starts to pick up controls again or just test out a new file and see if it works.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|