What I'm trying to do is retreive a specific entry from a table to help create a default path.
i.e I have a table with all my drawing data in. This includes a path to the drawings.
I want to be able to extract that path data into my code in order to help create a new folder below it.
Something like this
Private Sub Command141_Click()
Dim ExpPath As String
Dim ExstPath As String
Dim exApp As Object
Set exApp = CreateObject("Excel.Application")
ExstPath = "GETDATAFROMTABLESOMEHOW"
MkDir ExstPath & "\Excel_Lists"
ExpPath = ExstPath & "\Excel_Lists"
DoCmd.OutputTo acQuery, "ExcelQuery", "MicrosoftExcel(*.xls)", ExpPath & "DrawingList.xls", True, ""
exApp.Workbooks.Open ExpPath & "DrawingList.xls"
End Sub
Is this possible ??
thanks
i.e I have a table with all my drawing data in. This includes a path to the drawings.
I want to be able to extract that path data into my code in order to help create a new folder below it.
Something like this
Private Sub Command141_Click()
Dim ExpPath As String
Dim ExstPath As String
Dim exApp As Object
Set exApp = CreateObject("Excel.Application")
ExstPath = "GETDATAFROMTABLESOMEHOW"
MkDir ExstPath & "\Excel_Lists"
ExpPath = ExstPath & "\Excel_Lists"
DoCmd.OutputTo acQuery, "ExcelQuery", "MicrosoftExcel(*.xls)", ExpPath & "DrawingList.xls", True, ""
exApp.Workbooks.Open ExpPath & "DrawingList.xls"
End Sub
Is this possible ??
thanks