Input Box Text size and color?

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
769
Hi guys, I was wondering if you could change the font color and size of the text displayed in a input or message box?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
The only way you can do this is etiher using the Windows API or changing windows settings.

Why not just create your own custom input/message box using a userform?
 
Upvote 0
Here is the code I have now for the input box. It's just so plain looking, I wanted to spice it up a bit Maybe with colored font or bold print.

Code:
Private Sub Workbook_Open()
If Now() > #8/15/2004# Then
Serial = InputBox("Please Call Trio Logistics for Program Update 800-471-8746")
If Serial <> "treeo" Then
ActiveWorkbook.Close
End If
End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,870
Messages
6,122,019
Members
449,060
Latest member
LinusJE

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