Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2023, 12:07 AM
Ddadoo57 Ddadoo57 is offline Show/Hide save button in application header word 365 Windows 11 Show/Hide save button in application header word 365 Office 2021
Advanced Beginner
Show/Hide save button in application header word 365
 
Join Date: Feb 2023
Posts: 90
Ddadoo57 is on a distinguished road
Default Show/Hide save button in application header word 365

Hello to everyone!

Is there a solution in vba, to display or not the recording command in the header of Word 365. I'm talking about the little icon selectable in File > Option > General > checkbox "Show save commands in application header"?



Best regards,
David
Reply With Quote
  #2  
Old 04-27-2023, 05:16 PM
Guessed's Avatar
Guessed Guessed is offline Show/Hide save button in application header word 365 Windows 10 Show/Hide save button in application header word 365 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,160
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

When you say, 'Is there a solution in VBA?':
1. do you want a VBA solution to place the button in the QAT or
2. do you want the name of the button to add to the QAT so you can record VBA?

The button shows up in the File > Options > Quick Access Toolbar > All Commands and is called Record Macro / Stop Recorder
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 04-28-2023, 09:16 AM
Italophile Italophile is offline Show/Hide save button in application header word 365 Windows 11 Show/Hide save button in application header word 365 Office 2021
Expert
 
Join Date: Mar 2022
Posts: 539
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Quote:
Originally Posted by Guessed View Post
When you say, 'Is there a solution in VBA?':
1. do you want a VBA solution to place the button in the QAT or
2. do you want the name of the button to add to the QAT so you can record VBA?

The button shows up in the File > Options > Quick Access Toolbar > All Commands and is called Record Macro / Stop Recorder
That’s not what the OP means. By “the recording command” they’re referring to the AutoSave button.

AFAIK there isn’t anything in the object model to hide that button, though IIRC there is a registry hack to disable it.
Reply With Quote
  #4  
Old 04-28-2023, 11:10 AM
Ddadoo57 Ddadoo57 is offline Show/Hide save button in application header word 365 Windows 11 Show/Hide save button in application header word 365 Office 2021
Advanced Beginner
Show/Hide save button in application header word 365
 
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
  #5  
Old 04-29-2023, 12:32 PM
Ddadoo57 Ddadoo57 is offline Show/Hide save button in application header word 365 Windows 11 Show/Hide save button in application header word 365 Office 2021
Advanced Beginner
Show/Hide save button in application header word 365
 
Join Date: Feb 2023
Posts: 90
Ddadoo57 is on a distinguished road
Default

Quote:
Originally Posted by Italophile View Post
That’s not what the OP means. By “the recording command” they’re referring to the AutoSave button.

AFAIK there isn’t anything in the object model to hide that button, though IIRC there is a registry hack to disable it.


Thanks for your answer too, Italophile!
If it's not possible, I'll manage this problem differently by asking the user to rename the document, by clicking on the "Save" button of the custom tab.
Have a nice evening,
David
Reply With Quote
  #6  
Old 04-30-2023, 02:12 PM
Charles Kenyon Charles Kenyon is offline Show/Hide save button in application header word 365 Windows 11 Show/Hide save button in application header word 365 Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,467
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by Ddadoo57 View Post
Thanks for your answer too, Italophile!
If it's not possible, I'll manage this problem differently by asking the user to rename the document, by clicking on the "Save" button of the custom tab.
Have a nice evening,
David
The Save button does not provide for renaming. It saves to the same file, name and location. This is if it is the Save command.



Perhaps you should be using a Template instead of a document?
Templates in Microsoft Word
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Show table list by using chek box command and save document on sharepoint by using command button Zhibek Word VBA 3 08-16-2018 06:19 PM
Toggle button to show and hide image lodi123 Word VBA 1 03-15-2017 09:34 PM
Show/Hide save button in application header word 365 option button show/hide group of fields eugzl PowerPoint 2 12-29-2015 12:40 PM
Show/Hide save button in application header word 365 Want to show/hide mutiple grouped coloumns in Excel sheet with a button abutahir Excel 4 11-03-2015 01:07 PM
Show/Hide save button in application header word 365 How to show and hide rulers in Word 2007 Fred615 Word 2 05-10-2012 03:04 PM

Other Forums: Access Forums

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