Build a Select Case structure in a function that returns a string.
Example:
Select Case variable
Case 2
Function = "1=1"
.
.
.
End Select
--
Get on the emailing list for notification of the NEW "AutoCAD Visual Basic
Programmers Reference" - the ultimate guide to Visual Basic programming for
R14/2000/2000i
and 2002 by clicking on the link below
mailto:omnisource@worldnet.att.net?subject=NewVBTitle
Joe Sutphin
Author of "AutoCAD 2000 VBA Programmers Reference"
ISBN #1861002564
"Tom Hilton" wrote in message
news:A2A06AD9B6D7ED03F54B6F36CD009A46@in.WebX.maYIadrTaRb...
> AcadPViewport.StandardScale returns an integer that corresponds to an
> enumerated constant. Any idea how to convert this integer into the string
> representing the scale?
>
>