stonemonolith
Programmer
- Jul 22, 2006
- 4
Hi
I'm new to vbscript. I've seen several vbscripts on the net that open an Excel spreadsheet. I wanted to experiment to see if I could open another spreadsheet application (OpenOffice sCalc)
I finally got it to open using
Dim myObj
set myObj = CreateObject("Wscript.Shell")
myObj.Run """C:\Program Files\OpenOffice.org 2.1\program\sCalc.exe"""
Now I'm trying to add a value to the first cell, using myObj.Cells(A1).Value = ("Fiirst Name"), and I get an error message saying the Object does not support the property 'Cells'
Is there a way I can get a list of the properties that are available?
I'm new to vbscript. I've seen several vbscripts on the net that open an Excel spreadsheet. I wanted to experiment to see if I could open another spreadsheet application (OpenOffice sCalc)
I finally got it to open using
Dim myObj
set myObj = CreateObject("Wscript.Shell")
myObj.Run """C:\Program Files\OpenOffice.org 2.1\program\sCalc.exe"""
Now I'm trying to add a value to the first cell, using myObj.Cells(A1).Value = ("Fiirst Name"), and I get an error message saying the Object does not support the property 'Cells'
Is there a way I can get a list of the properties that are available?