Your code is nothing like that which I suggested.

Signature
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
On Mar 28, 10:10 am, "Doug Robbins - Word MVP"
<d...@REMOVECAPSmvps.org> wrote:
> Your code is nothing like that which I suggested.
>
[quoted text clipped - 79 lines]
>
> - Show quoted text -
Doug, I have modified the codes based on someone's advice and written
following:
Sub Score()
Dim iTotal As Integer
If ActiveDocument.FormFields("Tex11l").Result = "" Then
iTotal = iTotal +
ActiveDocument.FormFields("Dropdown1").DropDown.Value
iTotal = iTotal +
ActiveDocument.FormFields("Dropdown2").DropDown.Value
iTotal = iTotal +
ActiveDocument.FormFields("Dropdown3").DropDown.Value
iTotal = iTotal +
ActiveDocument.FormFields("Dropdown4").DropDown.Value
iTotal = (iTotal / 16) * 100
ActiveDocument.FormFields("Text11").Result = Str(iTotal)
End If
End Sub
On Dropdown4, I have used above macro and tick mark calculate on exit.
But when I want to use the Survey and want to exit from last drodown
menu, message comes that "macro are disabled for this project..."
I do not know what to do. I would appreciate your help very much
Doug Robbins - Word MVP - 29 Mar 2007 21:14 GMT
With ActiveDocument
If =.FormFields("Tex11").Result = "" Then
.FormFields("Text11").Result =
(.FormFields("Dropdown1").DropDown.Value _
+ .FormFields("Dropdown2").DropDown.Value _
+ .FormFields("Dropdown3").DropDown.Value _
+ .FormFields("Dropdown4").DropDown.Value) / 16 * 100
End If
End With

Signature
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
> On Mar 28, 10:10 am, "Doug Robbins - Word MVP"
> <d...@REMOVECAPSmvps.org> wrote:
[quoted text clipped - 110 lines]
> menu, message comes that "macro are disabled for this project..."
> I do not know what to do. I would appreciate your help very much