Maverick777
08-03-2009, 02:24 AM
Hi,
I've a Word template with various types of form fields in it, and it worked fine with my previous Offcie version. Since we've upgraded to Office 2007, I'm having few problems with using the drop down control.
Firstly, I'm unable to select an item from the drop down list. When I click on it, properties window opens up, where I can add or delete items to the list. But, I still couldn' find a way to select an item from that list.
Secondly, to avoid the above problem, I thought of adding a drop down box from the new set of tools. That works fine, untill it hits my VBA code. I don't have the new field in the form fields collection. Below is the piece of code that fails. Error message is "The requested member of the collection does not exist."
ActiveDocument.FormFields("Categorisation").Result = Categorisation.Value
Any help on this is greatly appreciated, as I've already spent great deal of time with this one.
Thanks
I've a Word template with various types of form fields in it, and it worked fine with my previous Offcie version. Since we've upgraded to Office 2007, I'm having few problems with using the drop down control.
Firstly, I'm unable to select an item from the drop down list. When I click on it, properties window opens up, where I can add or delete items to the list. But, I still couldn' find a way to select an item from that list.
Secondly, to avoid the above problem, I thought of adding a drop down box from the new set of tools. That works fine, untill it hits my VBA code. I don't have the new field in the form fields collection. Below is the piece of code that fails. Error message is "The requested member of the collection does not exist."
ActiveDocument.FormFields("Categorisation").Result = Categorisation.Value
Any help on this is greatly appreciated, as I've already spent great deal of time with this one.
Thanks