View Single Post
Old 03-10-2007   #5 (permalink)
RichS


 
 

Re: pshell, vista & office 2007

Interestingly

Set objExcel = CreateObject("Excel.Application")

objExcel.Visible = True
objExcel.Workbooks.Add


objExcel.Cells(1, 1)= "Computer"
objExcel.Cells(1, 2)= "OU"

works when run in vbscript
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"RichS" wrote:

> I've got the same error. be interested if you find a solution
> --
> Richard Siddaway
> Please note that all scripts are supplied "as is" and with no warranty
> Blog: http://richardsiddaway.spaces.live.com/
> PowerShell User Group: http://www.get-psuguk.org.uk
>
>
> "n3llyb0y" wrote:
>
> > On 2007-03-09 14:31:12 +0000, "Brandon Shell" <tshell.mask@gmail.com> said:
> >
> > > Worked for me. I dont have office on my x64 Vista so I cant try that...
> > > are you running x64?

> >
> > No, not using x64.
> >
> > So it worked on your x86 setup? I think I'll go ahead and re-install
> > powershell and office.
> >
> > Thanks for confirming :-)
> >
> > n
> >
> >

My System SpecsSystem Spec