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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help With This Snippet

Status
Not open for further replies.

ronrocker

Programmer
Aug 6, 2002
2
CA

Hi Guys,
The following code is creating multiple instances of Excel in my Access app and I can't get rid of them. The QUIT method does not work. What am I doing wrong?

Private Sub List5_DblClick(Cancel As Integer)
On Error Resume Next
Dim objSpread As WebBrowser
Dim SAddress As String
Set objSpread = Me.ActiveXCtl16.Object 'WebBrowser control
SAddress = List5.Column(2) 'List box Excel file selector
Me!LinkSpreadFileBar = SAddress 'Info file text box
objSpread.Navigate SAddress 'Get & display Excel file
Set objSpread = Nothing
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top