LineInput

D

Doug

I'm trying to use the function LineInput in VBA in Word2007 and it doesn't
work. Is my syntax corect or does the function not exist any longer?

TIA

LineInput FileIn, varRecordLayout
 
J

Jezebel

Do you get an error message, or does your variable not end up with what you
expect?
 
K

Karl E. Peterson

Doug said:
I'm trying to use the function LineInput in VBA in Word2007 and it
doesn't work. Is my syntax corect or does the function not exist any
longer?

LineInput FileIn, varRecordLayout

That syntax wouldn't work in any version of MSBasic -- Line Input has always
been a two-word directive. (One best avoided, in nearly all cases, but
that's another thread!)

No idea whether the historic syntax is supported in that version of VBA, but
I would suspect so.
 

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