InputBox function

L

Loree

Trying to use inputbox function
InputBox(Enter Date,[DATE]) per help file and I get Compile error: Expected list seperator or )

I want to add simple input box's
ie Enter Date
Company, etc.
 
J

Jezebel

The prompt, title, and default need to be strings, eg

MyDate = InputBox("Enter Date", "Date", cstr(Now()))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top