Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8094509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:48:58+00:00 2026-06-05T20:48:58+00:00

I have a VBA code where I compute the values of many variables (For

  • 0

I have a VBA code where I compute the values of many variables (For simplicity, let’s name them A, B, C).

I need to pop up a prompt a little more professional and involved than a MsgBox with multiple vbLines. For example, to have a frame that holds three boxes, each one displaying the value of one of the variables, and has a caption in it.

MsgBox seems too limited for this task. I tried a UserForm, but the controls available for UserForms are all Comboboxes, Listboxes, etc. Can I insert simple "Display Boxes" in a userform?

Furthermore, I will eventually need to have an additional box in that pop-up prompt where the user enters some value, clicks OK, then the value of the variables A, B, C are re-computed and updated in the display.

What tool do I need? Msgbox? dialogbox? userform? etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:48:59+00:00Added an answer on June 5, 2026 at 8:48 pm

    A userform is the way to go. You can display your variables in either labels or textboxes. You can group them using a Frame control. If the user-entered value is from a limited set, I’d go with a combobox, with MatchRequired set to true and calculation done on its Click event. If they can enter anything, then I’d use a textbox for that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have any vb.net or vba code that will format excel values or
I have a VBA code that creates a file and need to have an
i have some vba code that i need to convert to c# Select Case
Hey fellas, I have the following VBA code. It gets the values from an
I have some VBA code that needs to talk to a running c# application.
I have a method in my VBA code that needs to be assigned to
I have a missing reference listed in my References list (in the VBA Code
Hidden worksheets/workbooks have some limitations to what can be done in VBA code, like
I'm not sure why my code is not working.. I have code in vba
I have writen some code in VBA (Excel) with error handling labels. It worked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.