Discussion Locked
0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to create a Gantt chart with two date fields in an ACCESS 2000 table. I cannot find a canned approach anywhere,(but I may have overlooked it) and I want this if possible to run in ACCESS or automatically lauch Excel 2000 from an ACCESS window command button. Help Please. This is for a mission critical event.
2 replies
I would check the following site for tips on doing advanced Access stuff:
Otherwise, you can call other apps by using the shell function. For example, if you wanted to open a sheet from Excel by clicking on a button, then in the OnClick event of the command button you would put something like this:
Dim retVal
Dim xShare As String
Dim xfolder As String
Dim xSubFolder As String
dim xDoc as String
xShare = "C:\"
xfolder = "MyDirectory\"
xSubFolder = "MyExcelSheet"
xDoc = "MyExcelDoc"
retVal = Shell("c:\microsoft office\excel.exe " & xShare & xFolder & xSubFolder & xDoc, vbNormalFocus)
Good Luck!
by rwolinski
Thank You, I should have know this but sometimes you just get too confused over the content and miss the simple stuff.
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
0 helpful
13 replies
0 helpful
2 replies
0 helpful
10 replies
Question Unanswered
i need help in transferring my bulk emlx files
0 helpful
0 replies
Question Locked
Do You Save Useful Windows Tutorial Videos for Later
0 helpful
7 replies