If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Call up excell workbook from with DB through on Click

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-18-09, 14:47
cheryl_uk cheryl_uk is offline
Registered User
 
Join Date: Sep 2009
Posts: 2
Question Call up excell workbook from with DB through on Click

I am so new to DB and have worked really hard to get where I am, I might be asking the most stupid question but:

Is it possible to insert an excel workbook into a DB which could be opened by on click, the information could be held out side the DB, this which would get over my problem of multiple appointments. If I could have a 12 sheets workbook each representing a month, then month dates in col A, times in col B and then the individule technicians in col beside the dates. Could this be done by maybe a Hypelink, as I say I might be asking the rediculous but hay I can only ask

Thanks Cheryl

I have found this as below but how do I direct it to a specific workbook

Private Sub Command10_Click()
On Error GoTo Err_Command10_Click

Dim oApp As Object

Set oApp = CreateObject("Excel.Application")
oApp.Visible = True
'Only XL 97 supports UserControl Property
On Error Resume Next
oApp.UserControl = True

Exit_Command10_Click:
Exit Sub

Err_Command10_Click:
MsgBox Err.Description
Resume Exit_Command10_Click

End Sub

Last edited by cheryl_uk; 09-18-09 at 15:11.
Reply With Quote
  #2 (permalink)  
Old 09-18-09, 17:31
Ax238 Ax238 is offline
Registered User
 
Join Date: May 2009
Posts: 253
Cheryl,

Use oApp.Workbooks.Open

Ax
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On