Thread: [Solved] Problem with Msgbox in VBA
View Single Post
 
Old 09-01-2018, 07:44 AM
Puzzled Programmer Puzzled Programmer is offline Windows 10 Office 2003
Novice
 
Join Date: Sep 2018
Posts: 3
Puzzled Programmer is on a distinguished road
Default Problem with Msgbox in VBA

I am trying to use a message box, but Excel won't accept a title


eg Msgbox("This is a test message",,"Test Message")

When I press Enter I get a message

Compile Error Expected: =

I am very puzzled.

It works correctly without a title eg
Msgbox("This is a test message")

Any thoughts........... and many thanks


Puzzled Programmer
Reply With Quote