Changing the name of Inputbox

rholdren

Board Regular
Joined
Aug 25, 2016
Messages
140
Office Version
  1. 365
  2. 2019
When I create an Inputbox in the top left hand corner of the box is displayed Microsoft Excel. Is there any way to change that, remove it, hide it? Can't seem to locate anything about this.

Thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
As you are writing the code for "Inputbox", first you enter the message in quotes. If you then enter a comma, you can then type a title for the box in quotes which will replace the default " Microsoft Excel". You will see the variables that you can enter underneath the line of code as you type.
 
Upvote 0
I get an error with the , highlighted red
This is the line prior
Choice_Answer = InputBox("Choose Worksheet 1=TOC 2=All 3=ActiveOnly 4=InactiveOnly 5=Original_2018 6=ChartedByMonth 7=2018Vendors 8=IndividualView 9=TradeVendorActivity ")
 
Upvote 0
To include the title, it should be
Code:
Choice_Answer = InputBox("Choose Worksheet 1=TOC 2=All 3=ActiveOnly 4=InactiveOnly 5=Original_2018 6=ChartedByMonth 7=2018Vendors 8=IndividualView 9=TradeVendorActivity", "[COLOR=#ff0000]My Title[/COLOR]")
Change the part in red to suit
 
Upvote 0
You're welcome & thanks for the feedback.

If you're interested, you can make the box a bit neater/easier to read like
Code:
Choice_Answer = InputBox("Choose Worksheet" & vbLf & "1=TOC" & vbLf & "2=All 3=ActiveOnly 4=InactiveOnly 5=Original_2018 6=ChartedByMonth 7=2018Vendors 8=IndividualView 9=TradeVendorActivity", "My Title")
 
Upvote 0
The code is definitely cleaner but it lists them
1=TOC
2=All 3=ActiveOnly 4=InactiveOnly 5=Original_2018
6=ChartedByMonth 7=2018Vendors 8=IndividualView
9=TradeVendorActivity
The other way lists them
1=TOC
2=All
3=ActiveOnly
4=InactiveOnly
5=Original_2018
6=ChartedByMonth
7=2018Vendors
8=IndividualView
9=TradeVendorActivity
Which was a request from a higher-up
That was the only way I knew how to make that happen
 
Upvote 0
Ok, the only reason I mentioned it, is that I see

Choose Worksheet 1=TOC 2=All 3=ActiveOnly
4=InactiveOnly 5=Original_2018
6=ChartedByMonth 7=2018Vendors
8=IndividualView 9=TradeVendorActivity

rather than split line by line
 
Upvote 0
Personally I like your way better but we have some people who they feel makes it easier to see the long way. Takes a while to get it to look like that. Thanks again. Oh and for a reward they just asked me to figure out a way to link a cell to a date on their Outlook calendar. So if a vendor pops up as being 30-60-90 days out from renewal in a particular cell they want it to put that date into their calendar. the date gets chosen once they pick a vendor from a combobox and the cell below it calculates the date. If the date is 30 60 or 90 days out (exactly) it should add a notice to their calendar in that day. Yikes. I don't know if it's possible but I'll have fun trying. Thanks again for all your help.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,985
Members
452,540
Latest member
haasro02

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