Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Sandles Sandles is offline
external usenet poster
 
Posts: 4
Default style properties - how can I get these into a document

Thanks for that Greg, I have got it working, I will be trying to split out
the diffent aspects now.

"Greg Maxey" wrote:

Make sure that:
.Range.InsertAfter "Name: " & oSty.NameLocal & ", Description: " &
oSty.Description & vbCr

Is all on one line.

See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


Sandles wrote:
Greg, I am anewby to macros and your macro shows a sysntax error I
can't fix?

"Greg Maxey" wrote:

Run a macro something like this:

Sub StyleDescription()
Dim oSty As Style
With ActiveDocument
For Each oSty In .Styles
.Range.InsertAfter "Name: " & oSty.NameLocal & ", Description: "
& oSty.Description & vbCr
Next
End With
End Sub

--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


Sandles wrote:
I want to set up standard styles for my office and document them in
a manual. Isthere any way of exporting style properties




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need to edit the document properties after properties creation. Jed Microsoft Word Help 3 October 7th 07 12:17 AM
Underlying properties of a character style Phippsy Microsoft Word Help 2 July 23rd 07 08:36 AM
How to force users to fill out Document Properties in a document? C Rice Microsoft Word Help 2 April 9th 06 05:17 PM
Styles; What properties are inherited when "Style based on" is specified? Eric G Microsoft Word Help 7 January 24th 06 02:17 PM
Remove paragraph style properties Ron S. Microsoft Word Help 1 January 3rd 06 03:41 PM


All times are GMT +1. The time now is 05:54 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"