VBA: Displaying text in the status bar

Posted on 2009-12-29
Last Modified: 2013-12-04
Is it possible to display text in the statusbar using VBA for Autocad for progress status etc?


works in excel VBA but not in autocad.

Some other part of the screen will also do.

I do not want to do it in a userform so that is not an option.
Question by:Saqib Husain, Syed
    LVL 16

    Expert Comment

    I don't think you can display text on the Drawing status bar or Application status bar.
    (at least in Acad 2009, I didn't find it).

    You can always use the MsgBox() function, but the user has to click each one away.

    You could also try to set the prompt with:

      ThisDrawing.Utility.prompt "message"

    and with some delay, it shows the message on the prompt.

    And cheating, with


    it will make the message go to the next line in the prompt.

    LVL 14

    Accepted Solution

    This will display a string in the lower left hand corner. It's limits are 255 characters.


    Sub Tester()
        ThisDrawing.SetVariable "modemacro", "Looky here"
    End Sub

    Open in new window

    LVL 43

    Author Comment

    by:Saqib Husain, Syed
    Just what I wanted. Thanks.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    Simple 3D CAD 18 80
    Watch V7 9 49
    Mysql vs Oracle 10 105
    Macro which automatically sends attachment to Outlook 14 42
    When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now