Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the start in function when opening applications

Status
Not open for further replies.

Mikeauz

Technical User
Jul 23, 2002
75
AU
Hi,

I'm trying to use an Excel macro to open Lotus Notes R5. I've tried using the code:
RetVal = Shell("C:\Lotus\Notes\Notes.exe", 1)

but it just flashes up without opening, (As the normal shortcut contains "Startin %APPDATA%\Lotus\Notes\Data" as well as a link to Notes.exe)

Thanking you in advance

 
When I open an excel workbook I use this:
Set MyXL = GetObject(, "Excel.Application")
If Not IsNull(ExArk) Then Workbooks.Open ExArk
If MyXL.Workbooks.Count = 0 Then
MyXL.Workbooks.Add
End If
'and this is what makes excel visible to me:
MyXL.Application.Visible = True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top