Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 4th, 2004, 04:29 AM
Registered User
 
Join Date: Nov 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Number Style from word in vb

I am using vb6 to read paragraph from microsoft word, my problem is i dont know how to get the name of the style of Number List. eg;

 in my xxx.doc, i have paragraph below:

 1. First Paragraph
   a. Second Paragaph
     i. Third paragraph
    ii. Fourth paragraph
   b. fifth paragraph
 ...

in my program i would like to know the style of the List lever, i don't know if its something like wdListNumberStyleLowercaseRoman?!! what i want to do in my program is,

  for each paragraph in doc.paragraph
' i am not really sure the code below, but this is the critical part
    if paragraph.range.listnumberStyle = lowerCaseRoman then
     msgbox "Lower Case Roman"
    else
     ...
    end if
  next

 Hope someone can help me here, i really need your help please :) Thank you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Change page form style in VB Ron Howerton ASP.NET 1.0 and 1.1 Basics 7 October 26th, 2006 12:18 PM
Style in ASP.Net (VB) for diverse browers jkusmanto ASP.NET 1.0 and 1.1 Basics 0 June 8th, 2006 07:19 AM
Speed of VB for number-crunching james gold Beginning VB 6 3 January 27th, 2005 12:59 PM
Copy word to word doc. in VB vamshi Pro VB 6 1 March 24th, 2004 06:25 PM
difference between style.visibility and style.disp Mimi Javascript How-To 6 September 17th, 2003 11:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.