![]() |
#2
|
|||
|
|||
![]()
It is - sort of - like the Word command Documents.Add.
However, as you have found out, you need an object to do so. An Excel application object. This can be early or late binding. If you do NOT need to worry about version issues, use early binding. To use early binding you need to first set a Reference to the Excel libraries - this is done in the References menu item in the VBE. Then you must declare your object variables. Then you must SET your object variables. There are lots and lots of examples to be found. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
tanababa | Excel | 2 | 06-07-2012 03:11 PM |
Range(Cell1,Cell2) Error on another workbook controlling some other workbook? | tinfanide | Excel Programming | 1 | 02-09-2012 04:08 PM |
![]() |
Joe Patrick | Word VBA | 2 | 01-30-2012 07:23 AM |
Shared Excel workbook | eguru2 | Excel | 0 | 07-12-2011 12:02 AM |
Unable to open Excel 97-2003 workbook | J Partridge | Excel | 1 | 11-07-2010 03:26 AM |