Windows Vista Forums

Open Excell Spreadsheet
  1. #1


    SAC Guest

    Open Excell Spreadsheet

    Now do I open an excel spreadsheet with vbscript?



    Thanl for your help!



      My System SpecsSystem Spec

  2. #2


    Pegasus [MVP] Guest

    Re: Open Excell Spreadsheet


    "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



      My System SpecsSystem Spec

  3. #3


    Dave Patrick Guest

    Re: Open Excell Spreadsheet

    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!
    >
    >

      My System SpecsSystem Spec

  4. #4


    SAC Guest

    Re: Open Excell Spreadsheet

    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
    >
    >


      My System SpecsSystem Spec

  5. #5


    SAC Guest

    Re: Open Excell Spreadsheet

    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!


      My System SpecsSystem Spec

  6. #6


    Dave Patrick Guest

    Re: Open Excell Spreadsheet

    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!

      My System SpecsSystem Spec

Open Excell Spreadsheet problems?

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