Results 1 to 3 of 3
  1. #1

    VB Script Help in Object Creation

    HI all ,

    I have seen such code in many places to work with

    1. excel
    2. Folder

    1. Set objXL_OP = CreateObject("Excel.Application")
    'On Error Resume Next
    objXL_OP.Visible = True
    Set objWb_OP = objXL_OP.Workbooks.Open(testfile1) 'Open the workbook
    Set objWb_OP = objXL_OP.WorkSheets("Sheet1") 'Select the first worksheet

    2. Set fsoFolder = CreateObject("Scripting.FileSystemObject")
    Set folder = fsoFolder.GetFolder("C:\QC Request Validator\QC Automation Request Forms")
    Set files = folder.Files
    for each objFile in files
    sName = objFile.Name

    I want to know where can i find documentation for which objects can be created and what all operations can be done on them .

  2. #2
    Senior Member
    Join Date
    Feb 2008
    Los Angeles, CA, USA

    Re: VB Script Help in Object Creation

    A simple google search for keyword "createObject" gave me numerous relevant and informative results!

  3. #3



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 07:15 PM.

Copyright BetaSoft Inc.