Filehost.ro - gazduire fisiere
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
roxigirl85 pe Simpatie.ro
Femeie
25 ani
Bucuresti
cauta Barbat
30 - 46 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] Remove Document Inspector Warning [VBA]

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
Source:
https://www.excelhowto.com/macros/excel ... formation/

This is the original code which must be added to ThisWorkbook

'------------------ Copy to ThisWorkbook ------------------
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
    ActiveWorkbook.RemovePersonalInformation = False
End Sub


But I want a button in QAT, so this is the edited code:

Sub DocInspectorDisable()
    ActiveWorkbook.RemovePersonalInformation = False
End Sub


 
   
Pagini: 1  
Mergi la