Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Purnima
 
Posts: n/a
Default Uniform first line indents

Hi,

I am trying to code a macro which will determine the first line indents of
all paragraphs in a document, and use the indent value that occurs the most
often. All the first line indents should be set to this indent value.

I have declared an integer array to store all the first line indents. Now I
have to determine the indent value which occurs the maximum in this array.
But I just cannot figure out how to do this. Sorting the array won't help,
because it will give me the highest indent value and not the value which
occurs maximum no. of times.

I'm not sure if this logic is the best. And even if it is, I don't know how
to move further with the macro.

Can anyone please direct me?
Any help will be appreciated.

Purnima.
 
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
double window envelope tpdebronsky Page Layout 5 May 18th 23 08:51 PM
first line on new page same alignment and tabs as last line on previous page problem Keith G Hicks Microsoft Word Help 5 September 28th 05 07:37 AM
Bullets/numbers will not indent after first line Greg Microsoft Word Help 2 August 9th 05 12:43 AM
Pleadings - Line Numbering aligning with text GregBausman Page Layout 3 April 25th 05 05:10 AM
Vertical line--leaving line and losing the box Chad Harris New Users 1 February 1st 05 04:50 AM


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

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

About Us

"It's about Microsoft Word"