Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 04-12-2021, 04:42 PM
Guessed's Avatar
Guessed Guessed is offline Help with access Lists Gallery to Format all Windows 10 Help with access Lists Gallery to Format all Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
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 haven't seen multi-range selections in code before and that looks like an interesting avenue to explore.

If you are looking for a 'magic' way to apply styles in PDF conversions, I would consider trying the Autoformat command which is as close to vba magic as I've seen.
Code:
  With Options
    .AutoFormatPreserveStyles = False
    .AutoFormatApplyHeadings = True
    .AutoFormatApplyLists = True
    .AutoFormatApplyBulletedLists = True
    .AutoFormatApplyOtherParas = True
    .AutoFormatReplaceHyperlinks = True
    .AutoFormatReplaceQuotes = False
    .AutoFormatReplaceSymbols = False
    .AutoFormatReplaceOrdinals = False
    .AutoFormatReplaceFractions = False
    .AutoFormatReplacePlainTextEmphasis = False
    .AutoFormatPlainTextWordMail = True
    .LabelSmartTags = False
  End With
  Selection.Range.AutoFormat
If that doesn't work, post a sample document so I can see what you are actually looking at.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Tags
gallery, list indentation, list styles



Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing two lists and extracting values missing from both lists Dave T Excel Programming 4 11-01-2018 11:51 PM
Creating global contact lists (distribution lists) Outlook 2011 Mac pengyou Outlook 0 09-10-2016 02:18 PM
Help with access Lists Gallery to Format all I want to create a lists within lists (nested merges) AndyS Mail Merge 10 12-11-2015 03:05 PM
Add command (not gallery) to quick access toolbar MarkPhil Word 3 02-16-2014 06:10 AM
Project gallery slidon Word 0 04-29-2013 07:22 AM

Other Forums: Access Forums

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