Now do I open an excel spreadsheet with vbscript?
Thanl for your help!
Now do I open an excel spreadsheet with vbscript?
Thanl for your help!
"SAC" <someone@xxxxxx> wrote in message
news:%236bb0HsuJHA.4648@xxxxxxI strongly recommend you download the whole Scripting Guy help file. It has
> Now do I open an excel spreadsheet with vbscript?
>
> Thanl for your help!
a large number of useful VB Script examples, e.g. this one:
How Can I Save a Single Excel Worksheet to a CSV File?
https://www.microsoft.com/technet/sc...5/hey0322.mspx
Air code but this should do it.
Option Explicit
Dim filePath1, oExcel
filePath1 = "c:\Test1.xls"
Set oExcel = CreateObject("Excel.Application")
oExcel.Workbooks.Open(filepath1)
'do some stuff
oExcel.Close(True, filePath1)
oExcel.Quit
Set oExcel = Nothing
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"SAC" wrote:
> Now do I open an excel spreadsheet with vbscript?
>
> Thanl for your help!
>
>
Thanks!!
"Pegasus [MVP]" <news@xxxxxx> wrote in message
news:OjCykSsuJHA.5380@xxxxxx
>
> "SAC" <someone@xxxxxx> wrote in message
> news:%236bb0HsuJHA.4648@xxxxxx>
>> Now do I open an excel spreadsheet with vbscript?
>>
>> Thanl for your help!
> I strongly recommend you download the whole Scripting Guy help file. It
> has a large number of useful VB Script examples, e.g. this one:
> How Can I Save a Single Excel Worksheet to a CSV File?
>
> https://www.microsoft.com/technet/sc...5/hey0322.mspx
>
>
Thanks you!
"Dave Patrick" <DSPatrick@xxxxxx> wrote in message
news:OwWUs1suJHA.5380@xxxxxx
> Air code but this should do it.
>
> Option Explicit
> Dim filePath1, oExcel
>
> filePath1 = "c:\Test1.xls"
> Set oExcel = CreateObject("Excel.Application")
> oExcel.Workbooks.Open(filepath1)
> 'do some stuff oExcel.Close(True, filePath1)
> oExcel.Quit
> Set oExcel = Nothing
>
>
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
>
> "SAC" wrote:
>> Now do I open an excel spreadsheet with vbscript?
>>
>> Thanl for your help!
You're welcome.
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"SAC" wrote:
> Thanks you!
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| excell 2007 | pjuchem | Microsoft Office | 5 | 12 Sep 2009 |
| Excell-Navigating using arrows | Jim | Vista General | 2 | 29 Mar 2008 |
| Excell File Won't Restore | Bruce | Vista performance & maintenance | 0 | 15 Jan 2008 |
| microsoft excell | HelplessAtlanta | Vista hardware & devices | 1 | 21 Dec 2007 |
| Windows Media Player to Excell | AOM Scenarios | Vista music pictures video | 1 | 30 Nov 2007 |