View Single Post
 
Old 04-28-2023, 11:10 AM
Ddadoo57 Ddadoo57 is offline Windows 11 Office 2021
Advanced Beginner
 
Join Date: Feb 2023
Posts: 90
Ddadoo57 is on a distinguished road
Default

Hello Guessed,

If you want, I have a .dotm template that handles saving documents via its own "Save" button. This allows you to format the name of the documents at the first save, as a "draft version" with a watermark, then at the end of a shared review process, save them as a "final version" to publish and archive them.

During this first recording the user must not click on the little icon in the QAT, otherwise vba puts its nose in there and opens its own recording window to save the doc, with a name of its own...

My problem is that I can't manage, in the DocumentBeforeSave (...) procedure, to prevent word from opening its own save window!

So how can we avoid displaying the little save icon of the QAT, as long as the user has not used the "Save" button of the template, integrated in its tab.

If this is not possible, I will manage it differently.

Sincerely,
David

Translated with www.DeepL.com/Translator (free version)
Reply With Quote