![]() The android app version has NEITHER the ability to ADD nor DELETE headers and footers.The google docs browser version has the ability to ADD headers, but there is no option (including in page setup and print setup) to REMOVE headers and footers.The pc software version is the ONLY version (apparently) that has the native option to remove headers and footers.Keep in mind that there are multiple GDocs interfaces, and each of them is different with respect to this problem. Now (or upon re-opening of your file) an extra menu item will appear: Press "Allow" and close the script editor. Next, select the onOpen function from the drop-down:Īnd press the bug button to authenticate the script: Press the save button (or Ctrl + S) to save the script (and simply press OK): Remove the pre-formatted code (if present):Ĭopy / paste the code below into the script editor:ĭocumentApp.getUi().createMenu("Header / Footer")ĭocumentApp.getActiveDocument().getHeader().removeFromParent() ĭocumentApp.getActiveDocument().getFooter().removeFromParent() Goto Tools > Script editor. in your own file. The script will irreversibly remove the header (and footer if selected), but only in the file you're working in. The following piece of code will reset the header (gray line disappears), but read the disclaimer first. ![]() I've gone and written an Add-on: Documents by Top Contributors
0 Comments
Leave a Reply. |