Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-08-2021, 04:50 PM
coffent coffent is offline Sub Auto_Open() runs but doesn't always work Windows 10 Sub Auto_Open() runs but doesn't always work Office 2019
Advanced Beginner
Sub Auto_Open() runs but doesn't always work
 
Join Date: Dec 2019
Posts: 40
coffent is on a distinguished road
Default

The subroutine should read
...
.Caption = "Insert C Comment"
.OnAction = "AddComment2"
that is, with "." before Caption & OnAction. (My actual subroutine has it correct.)


(Is there a way for the original poster to edit his post, rather than have to "reply" to it as I've done?) [Note added later: I see I'm able to edit this reply, but not my original post. Don't understand why.]

Last edited by coffent; 05-09-2021 at 09:24 AM. Reason: Add info.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA script runs once but if I try to run it again, it does not work jakecahill Excel Programming 3 07-11-2017 07:32 AM
Sub Auto_Open() runs but doesn't always work VBA runs I then save as to keep master free from editds but does not work dingar Word VBA 3 04-27-2017 03:18 PM
SHIFT+END doesn't work derohanes Excel 2 09-28-2015 09:31 AM
Sub Auto_Open() runs but doesn't always work HelpViewer doesn't work dherr Office 1 03-27-2015 07:44 AM
Sub Auto_Open() runs but doesn't always work alt+numeric doesn't work Kungen Word 3 12-02-2011 11:25 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:15 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