Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
type mismatch, can't open a workbook?
i can't get this workbook to open. The folder, and filename is constant.
Thanks, Public Sub openFile() Const fName As String = "Book1.xls" Const fPath As String = "MacOS X:SSP Folder:" Dim wkb As Workbook Set wkb = fPath & fName wkb.Open End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Type Mismatch: array or user defined type expected | Excel Programming | |||
Type mismatch using rnge as Range with Type 8 Input Box | Excel Programming | |||
Help: Compile error: type mismatch: array or user defined type expected | Excel Programming | |||
Type Mismatch in Auto-Open Macro | Excel Programming | |||
Type Mismatch Error when getting data from another workbook | Excel Programming |