Immediate window error

  • Thread starter Thread starter Anthony
  • Start date Start date
A

Anthony

I'm getting an error everytime I try to use the immediate
window function (compile error: Expected line number or
label at the end of the statement)

I'm using such statements at =now() which usually works.
If you know what this error please let me know - thanks.
 
in the immediate window, you use

? now

or
debug.print now

(? is a shortcut for debug.print)

to see the current date and time.
 
Anthony,

? now()

is the proper syntax for the immediate window....

HTH,
Bernie
MS Excel MVP
 

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

Back
Top