Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2021, 06:58 AM
BobBridges's Avatar
BobBridges BobBridges is offline Has Office 365 broken the f8 (Step Into) debug facility ? Windows 7 64bit Has Office 365 broken the f8 (Step Into) debug facility ? Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

For what it's worth, I haven't noticed this behavior in Excel. I have Office Pro Plus 2019 and I do a lot of automation in Excel, a little in Outlook and Access, almost none in Word.

Thinking about a possible explanation, it occurs to me that you may have an event turned on that executes VBA code when you open a workbook....here it is, WorkbookOpen. If that's waiting to execute, then it'll execute when your code opens a workbook, and what happens after that depends on what your WorkbookOpen code does. If this is the case, you can prevent it by turning Application.EnableEvents off before opening the workbook, and restoring it afterward.



One other possibility (and here I'm stretching): Maybe the workbook you're opening has active content itself, and somehow it's getting control?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Step by Step Book Practice Files joebluegolf Project 0 02-07-2018 02:28 PM
Has Office 365 broken the f8 (Step Into) debug facility ? Can I bring contents of slide step-by-step yabi PowerPoint 1 12-17-2011 03:13 AM
Broken office 2010 help lekebjerg Office 0 12-11-2011 10:57 AM
Lost facility gerry Word 1 05-08-2010 09:53 AM
Microsoft Office 2003 winword.exe Debug Error! abnormal prog elo1bev Word 0 12-22-2005 10:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft