Results 1 to 2 of 2

Thread: VB and MS Excel through code only

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    11

    Talking

    There's an excellent tutorial here to work with MS Access through code only (no data control) ... how do I do the same with a MS Excel spread sheet...any help is greatly appretiated. Thank you all in advance

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Subclassing

    Look up information on Subclassing. Or just add a reference in your project to the Excel object and check out the events and use the help files from Excel.

    Reference the Microsoft Excel 9.0 Object

    declare it something like

    Public appExcel As Excel.Application

    appExcel.Workbooks.Open "c:\MySpreadsheet.xls"

    then you can pretty much figure out what stuff does by the name or just search the VBA help files from Excel


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width