The Translation Outpost

A project of Alex Lane and Galexi Wordcraft, LLC

User Tools

Site Tools


blog:changing_the_alignment_of_certain_paragraphs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
blog:changing_the_alignment_of_certain_paragraphs [2015/03/31 09:24]
galexiadmin [Unjustifying paragraphs]
blog:changing_the_alignment_of_certain_paragraphs [2015/03/31 09:27] (current)
galexiadmin [Unjustifying paragraphs]
Line 21: Line 21:
 End Sub End Sub
 </​code>​ </​code>​
-The ''​StatusBar''​ line is there to provide some visual feedback as the macro works its way through a file. Execution is not objectionably ​slow, but it's far from blazing fast. (Assigning ​the paragraph count to the variable ''​j''​ is done to keep things from slowing down even further by having to call ''​oSource.Paragraphs.Count'' ​for each value of ''​i''​.)+The ''​StatusBar''​ line is there to provide some visual feedback as the macro works its way through a file. Execution is not glacially ​slow, but it's far from blazing fast, and seeing that something is progressing makes the experience tolerable. (BTW, assigning ​the paragraph count up front to the variable ''​j''​ is done to keep things from slowing down even further by having to call ''​oSource.Paragraphs.Count'' ​every time the ''​StatusBar"​ line is executed.)
  
 {{tag>​Word VBA macro alignment}} {{tag>​Word VBA macro alignment}}
blog/changing_the_alignment_of_certain_paragraphs.txt ยท Last modified: 2015/03/31 09:27 by galexiadmin