Just reading your comment a decade later (hah!), but I think OP is trying to use something similar to Excel's application.statusbar command, which controls the little notification bar at the bottom of the Excel window. Him and myself both wish CAD had this option to edit in VBA, but it doesn't seem like you can do so easily.
PRIVATE VL AS OBJECT
PRIVATE VLF AS OBJECT
Function OPENCAD() AS BOOLEAN
OPENCAD = False
On Error GoTo erro
Dim cf
Dim ZS As Integer
Dim ZS1P As Integer
cont = 19
Set Cad = GetObject(, "autocad.application." & cont)
GoTo aki
abri:
cont = 19
Set Cad = CreateObject("autocad.application." & cont)
Cad.Visible = True
OPENCAD = True
aki:
On Error GoTo 0
Set Doc = Cad.ActiveDocument
Set VL = Doc.Application.GetInterfaceObject("VL.Application.16")
Set VLF = VL.ActiveDocument.Functions
Exit Function
erro:
ER = Err
vARCANCEL = Doc.GetVariable("LASTPROMPT")
If UCase(Right(vARCANCEL, 8)) = "*CANCEL*" Then End
If ER = 440 Then Resume aki
If ER = 429 Then
cont = cont + 1
If cont > 50 And TE = 0 Then
TE = 1
Resume abri
End If
Resume
End If
MsgBox "ERRO - " & Err.Description
End Function
'IN CODIGO
'VISIBLE PROGRESS CAD
ZS = 100 ' COUNT ITEMS
VL.ActiveDocument.Functions.ITEM("acet-ui-progress-init").FUNCALL "Working:", ZS
ZS1P = Int(ZS / 50)
If ZS1P < 50 Then ZS1P = 1
For ZS = 0 To 100 ' COUNT ITEMS
'REFRESH PROGRESS
If ZS / ZS1P = Int(ZS / ZS1P) Then
VLF.ITEM("acet-ui-progress-safe").FUNCALL (ZS)
End If
NEXT ZS
'INVIBLE PROGRESS CAD
VLF.ITEM("acet-ui-progress-done").FUNCALL