Pop up message on creation of new account

123456

New Member
Joined
Dec 9, 2005
Messages
5
Hi Help on the following would be most appreciated

How do I write a code that allows the user to enter details into the input box and then once those details are entered, i would like a message to pop up stating that a new account has been created with the details entered.

For eg....name JOHN BROWN ( NEW ACCOUNT)
After the user enters the details into the input box...i would like a message to pop up and state that ....new account for John Brown has been created !
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

jindon

MrExcel MVP
Joined
Aug 21, 2004
Messages
16,995
does this help
Code:
Sub test()
Dim res As String
res = InputBox("Enter name for New Account")
If Len(res) > 0 Then
    MsgBox "A new account for " & res & _
            " has been created"
End If
End Sub
 

123456

New Member
Joined
Dec 9, 2005
Messages
5
Thank you very much JinDon. It worked like a charm!!!!! Thanks once again
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,621
Messages
5,832,735
Members
430,160
Latest member
a_majda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top