9.28.2012

...goes a long way

...a little bit of script.

I'd been working twenty minutes in Excel when the copy I had 'went away'. I looked in task manager -- it was _there_ just couldn't see it. So, this brought it back:

EXAMPLE:

PS~MBEE1>type .\get-excel.vbs
Option Explicit
Dim oExcel
Set oExcel=GetObject(,"Excel.Application")
oExcel.Visible=vbTrue
PS~MBEE1>cscript //nologo //e:vbscript get-excel.vbs


Automation is _wonderful_.

No comments:

Post a Comment