To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=55807





------- Additional comments from [EMAIL PROTECTED] Wed Oct 12 22:52:14 -0700 
2005 -------
Our only entrance to the internet is via a separate WTS-server - so it's not so 
easy for me to attach a demo-Word-document. But I will try to find a way...

In the meantime: the macro will work, I tried with different versions. Maybe 
you're waiting for something to happen - but you won't see a thing! The new 
values are stored internally without any effect on the GUI.

Please add the following line at the beginning and the end and you will see 
that the count changes:

Public Sub AddVariables()

    MsgBox "Recent count of variables: " & _
           Format$(ActiveDocument.Variables.Count)
           
    Dim i As Integer
    For i = 1 To 10
        ActiveDocument.Variables.Add "TestName_" & Format$(i), _
                                     "TestValue_" & Format$(i)
    Next i
    
    MsgBox "Recent count of variables: " & _
           Format$(ActiveDocument.Variables.Count)
    
End Sub



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to