Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2021, 11:06 PM
stky stky is offline create a styles Windows 10 create a styles Office 2013
Advanced Beginner
create a styles
 
Join Date: Apr 2021
Posts: 30
stky is on a distinguished road
Default create a styles

Need to create more than 20 styles in new document or exist . If the document does not exists the style we need create else we go with the styles.



Need help in this.
Reply With Quote
  #2  
Old 07-29-2021, 09:09 PM
Guessed's Avatar
Guessed Guessed is offline create a styles Windows 10 create a styles Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
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'm not exactly sure of the question but I would say that you should be creating the styles in a template and then importing them from there.

Importing the styles from the attached template is as easy as
Code:
ActiveDocument.UpdateStyles
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 07-29-2021, 10:41 PM
stky stky is offline create a styles Windows 10 create a styles Office 2013
Advanced Beginner
create a styles
 
Join Date: Apr 2021
Posts: 30
stky is on a distinguished road
Default

If a document have not a styles we need create a style e.g (Head1, Head2, etc...)
Else the document have those styles we proceed to apply those styles.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
create a styles Creating buttons for individual paragraph styles on a ribbon tab - not using Quick Styles T7Training Word 11 12-22-2019 12:16 PM
Question about spacing between multi-level bullet styles (and other styles) SDwriter Word 0 09-26-2017 09:39 AM
create a styles How to create custom table styles? Pey1 PowerPoint 1 05-25-2016 02:15 AM
create a styles Best Way to Create New Styles -- Using Style Based On Feature for Ripple Effect? Editor Word 1 10-28-2013 12:12 PM
Can I create Page Styles janice_2k Word 1 08-24-2012 10:53 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft