from the help files:(for InitializeUserInput )
Keyword
Variant (array of strings); input-only; optional
The keywords that the following user-input method will recognize.
then in the example for same help entry they don't use a variant array of
strings, just a string
' Define the valid keywords
Dim keywordList As String
keywordList = "Keyword1 Keyword2"
' Call InitializeUserInput to setup the keywords
ThisDrawing.Utility.InitializeUserInput 128, keywordList
what's up with that? Am I misunderstanding (again:-))
I can only get it to work with a string, I can't get it to work with a
variant array of strings
Dim vchoice As Variant
Dim achoice(1) As String
achoice(0) = "Left"
achoice(1) = "Right"
vchoice = achoice
doc.Utility.InitializeUserInput 0, vchoice
error: Invalid argument keywordlist in initialize user input
is that a typo in the help or is "String1 String2" really a variant array of
strings????