Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-29-2015, 08:05 AM
brice brice is offline Get paragraph number from macro Windows 7 64bit Get paragraph number from macro Office 2010 32bit
Novice
Get paragraph number from macro
 
Join Date: Jun 2015
Posts: 3
brice is on a distinguished road
Default Get paragraph number from macro

Dear all,



I would want to retrieve from word macro the number associated to a paragraph in my document, but I am completely blocked on that point.

I joined a small sample of a file with same style as the original. I already wrote all code needed to parse the info I need to collect from my document except that, when I iterate through the Document.Paragraphs collection, I would want to be able to retrieve the paragraph number (in this example 1.1.1.1) when reaching the paragraph of the sample.

I tried the ListStyle, OutlineLevel, etc. properties, but with no success.

Any help would be very appreciated !

Thanks in advance,

Brice
Attached Files
File Type: doc example.doc (64.0 KB, 17 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find number of coma and then add that number of rows in word using macro? PRA007 Word VBA 7 05-27-2015 10:45 PM
Get paragraph number from macro Figure number for repeated use in paragraph rahul4msoffice Word 1 05-01-2013 11:35 PM
How place paragraph number in a text box? peytontodd Word 2 12-13-2012 03:17 PM
Get paragraph number from macro How set up a 'paragraph number'? peytontodd Word 2 12-11-2012 06:55 PM
Get paragraph number from macro How to identify the paragraph number you are on SaneMan Word VBA 1 05-18-2011 05:43 AM

Other Forums: Access Forums

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