ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   WScript.Echo... VBA Reference? (https://www.excelbanter.com/excel-programming/361201-wscript-echo-vba-reference.html)

John Keith[_2_]

WScript.Echo... VBA Reference?
 
Is there a reference that can be checked that will allow WScript.echo to work
from VBA?

I'd really like to have the entire VBA/VBE environment work on any VBS code.
And show errors that would occur as if I were running the VBS file
standalone. (but getting WScript.echo to not return a run-time error would
be a start)

--
Regards,
John

Christmas May[_2_]

WScript.Echo... VBA Reference?
 
If you find an answer to this problem, please forward the answer to
I too am VERY eager to do the same things!

Sincerely,

Christmas May

"John Keith" wrote:

Is there a reference that can be checked that will allow WScript.echo to work
from VBA?

I'd really like to have the entire VBA/VBE environment work on any VBS code.
And show errors that would occur as if I were running the VBS file
standalone. (but getting WScript.echo to not return a run-time error would
be a start)

--
Regards,
John


Tim Williams

WScript.Echo... VBA Reference?
 
What do you want to do in VBscript which you can't just implement in VBA ?

--
Tim Williams
Palo Alto, CA


"Christmas May" wrote in message ...
If you find an answer to this problem, please forward the answer to
I too am VERY eager to do the same things!

Sincerely,

Christmas May

"John Keith" wrote:

Is there a reference that can be checked that will allow WScript.echo to work
from VBA?

I'd really like to have the entire VBA/VBE environment work on any VBS code.
And show errors that would occur as if I were running the VBS file
standalone. (but getting WScript.echo to not return a run-time error would
be a start)

--
Regards,
John




John Keith[_2_]

WScript.Echo... VBA Reference?
 
I use the VBE from Excel to test pure VBS scripts. (I HATE the
microsoft-script editor that forces you to use HTML sandwiched code). I was
able to get around my initial issue because "msgbox" works in VBscript.

It would however be really nice to be able to flip a switch that would make
the VBE accept only VBS coding. Maybe by setting up a certain reference
would do the trick?
--
Regards,
John


"Tim Williams" wrote:

What do you want to do in VBscript which you can't just implement in VBA ?

--
Tim Williams
Palo Alto, CA


"Christmas May" wrote in message ...
If you find an answer to this problem, please forward the answer to
I too am VERY eager to do the same things!

Sincerely,

Christmas May

"John Keith" wrote:

Is there a reference that can be checked that will allow WScript.echo to work
from VBA?

I'd really like to have the entire VBA/VBE environment work on any VBS code.
And show errors that would occur as if I were running the VBS file
standalone. (but getting WScript.echo to not return a run-time error would
be a start)

--
Regards,
John






All times are GMT +1. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com