VBA

jj98

New Member
Joined
Feb 9, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
  2. MacOS
Need help so I need my inputbox to appear right when I open excel. I did subworkbook_open() however that did not work. I need to know how to appear an inoutbox that says enter your name and when I enter my name it displays in A21 saying updated by "name" and after that another inputbox to appear saying enter whole number and when entered displays in B1. I did dims, set, and referenced input box= but it did not work anyone know?
 

Attachments

  • Screen Shot 2021-02-09 at 4.43.26 PM.png
    Screen Shot 2021-02-09 at 4.43.26 PM.png
    191.9 KB · Views: 4
  • Screen Shot 2021-02-09 at 5.08.46 PM.png
    Screen Shot 2021-02-09 at 5.08.46 PM.png
    114.9 KB · Views: 5

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Did you put this in the "This Workbook" module?

VBA Code:
Private Sub Workbook_Open()

' Put your code here

End Sub

1612916018549.png
 
Upvote 0

Forum statistics

Threads
1,214,821
Messages
6,121,759
Members
449,048
Latest member
excelknuckles

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
Back
Top