I want to populate a list box with all the numbered reference items in a document. Does anyone know if this is possible? Thank you url:http://www.ureader.com/gp/1023-1.aspx
Something like the following should do it: Dim afield As Field For Each afield In ActiveDocument.Fields If afield.Type = wdFieldRef Then ListBox1.AddItem afield.Result End If Next afield -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "amanda taylor" wrote in message news:c8b92c51d3204998a4aab0f984faffec@newspe.com... >I want to populate a list box with all the numbered reference items in a > document. Does anyone know if this is possible? Thank you > > url:http://www.ureader.com/gp/1023-1.aspx
Thank you - works a treat. url:http://www.ureader.com/msg/1023596.aspx