• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 126
  • Last Modified:

MsgBox

I would like this message box to display the value it calculates in Counter.. what is the correct syntax.

MsgBox "'Counter'" + "Records Added Successfully"
0
Tony Crisafi
Asked:
Tony Crisafi
1 Solution
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Try it like this....
MsgBox Counter, vbInformation, "Records Added Successfully"

Open in new window

0
 
Roy CoxGroup Finance ManagerCommented:
Is Counter a variable that is declared in the code. The message box should display after the value has been set.
MsgBox Counter & "  Records Added Successfully", VBInformation,"Completed"

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now