Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 05-21-2024, 12:02 PM
gmaxey gmaxey is offline Triggering Save As dialog box when updating a dotm file Windows 10 Triggering Save As dialog box when updating a dotm file Office 2019
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,602
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

If you added the Stop and then stepped through the code as I suggested, you will be all to tell if the .Count = 0 or not. If .Count is not = 0 then your code to save the document is not being called. What happens if you remove the If ... and the ... End If lines?


At least then the code to save will be called.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
instance a new dotm file from a Word dotm file and save with new file name David Peck Word VBA 3 08-18-2023 06:47 AM
Save a range of pages as PDF/New Word file with SaveAs Dialog box popup smj.javid Word VBA 3 10-11-2021 04:11 AM
Triggering Save As dialog box when updating a dotm file save dialog box promt doesn't save file brmveen Word VBA 2 11-04-2015 12:51 AM
Updating active R/O templates (dot) and macros (dotm) gw1500se Word 0 05-27-2014 12:11 PM
Triggering Save As dialog box when updating a dotm file How to deactivate File Save dialog box KIM SOLIS Word 3 12-15-2013 12:30 PM

Other Forums: Access Forums

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