Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2023, 04:49 PM
Guessed's Avatar
Guessed Guessed is online now Keeping only the "vertical revision marks" when exporting to ".pdf" Windows 10 Keeping only the "vertical revision marks" when exporting to ".pdf" Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,185
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

I recorded a few settings and this appears to give a result that only shows the sidebars


Code:
Sub ExportPdfSidebars()
  With Options
    .InsertedTextMark = wdInsertedTextMarkNone
    .InsertedTextColor = wdBlue
    .DeletedTextMark = wdDeletedTextMarkHidden
    .DeletedTextColor = wdPink
    .RevisedPropertiesMark = wdRevisedPropertiesMarkNone
    .RevisedPropertiesColor = wdByAuthor
    .RevisedLinesMark = wdRevisedLinesMarkOutsideBorder
    .CommentsColor = wdByAuthor
    .RevisionsBalloonPrintOrientation = wdBalloonPrintOrientationPreserve
    .MoveFromTextMark = wdMoveFromTextMarkDoubleStrikeThrough
    .MoveFromTextColor = wdGreen
    .MoveToTextMark = wdMoveToTextMarkDoubleUnderline
    .MoveToTextColor = wdGreen
    .InsertedCellColor = wdCellColorLightBlue
    .MergedCellColor = wdCellColorLightYellow
    .DeletedCellColor = wdCellColorPink
    .SplitCellColor = wdCellColorLightOrange
  End With

  ActiveWindow.View.RevisionsMode = wdInLineRevisions

  ActiveDocument.ExportAsFixedFormat OutputFileName:="C:\TestFolder\SavedVersion.pdf", _
    ExportFormat:=wdExportFormatPDF, OpenAfterExport:=True, OptimizeFor:= _
    wdExportOptimizeForPrint, Range:=wdExportAllDocument, _
    Item:=wdExportDocumentWithMarkup, IncludeDocProps:=False, KeepIRM:=True, _
    CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _
    BitmapMissingFonts:=True, UseISO19005_1:=False
  
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 05-07-2023, 06:09 PM
bblelli bblelli is offline Keeping only the "vertical revision marks" when exporting to ".pdf" Windows 10 Keeping only the "vertical revision marks" when exporting to ".pdf" Office 2021
Novice
Keeping only the "vertical revision marks" when exporting to ".pdf"
 
Join Date: Feb 2023
Posts: 22
bblelli is on a distinguished road
Default

It's better, but it's still showing the grey shaded area.
Take a look at the picture below!

Thanks
Attached Images
File Type: png New.png (102.7 KB, 10 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailto Hyperlink Formula contains too large of "Body" receiving "#Value" need to find workaround MCamera Excel 1 03-02-2022 07:52 PM
Excel 2003: VBA "Function" causes "#VALUE!" errors after running "insert/delete row" custom macro Matt C Excel Programming 2 01-08-2022 06:03 AM
Combine "sort within groups" and "identify duplicate/unique values" in two different variables. civilcervant Excel 3 06-12-2017 07:27 AM
remove repeated words with " macro " or " wild cards " in texts with parentheses and commas jocke321 Word VBA 2 12-10-2014 11:27 AM
Keeping only the "vertical revision marks" when exporting to ".pdf" How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:06 AM.


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