Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2012, 12:51 AM
tinfanide tinfanide is offline Check which ListGalleries a list belongs to? Windows 7 64bit Check which ListGalleries a list belongs to? Office 2010 32bit
Expert
Check which ListGalleries a list belongs to?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default



Quote:
Originally Posted by macropod View Post
If:

surely you already know which type they belong to??
Sorry... asking too soon. I'd forgotten ListType.

Code:
Dim oList As List
For Each oList In ActiveDocument.Lists
    If oList.Range.ListFormat.ListType = wdListSimpleNumbering Then ''' wdListSimpleNumbering / 3
          oList.Range.Select
    End If
Next oList
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Link word check box to access check box Mrkieth Word 4 01-30-2012 06:43 AM
VBA: How to control Word ListGalleries in Excel? tinfanide Excel Programming 0 12-12-2011 03:56 AM
How to select all paragraphs that belongs to certain "Style" but doesn't take its for Jamal NUMAN Word 6 09-21-2011 12:09 PM
How do you create a list similar to an itunes list? hatemail13 Excel 1 08-06-2010 02:21 AM
Need Help with Using a Check Box Nick9589 Excel 1 05-01-2010 09:29 AM

Other Forums: Access Forums

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