Hi Nicole
In sheet 'Attachments' insert the attachment as below
--Insert>Object>Creat from File>Browse the file>
--Select 'Display as icon' and hit OK
--Suppose the object name is 'Object 1'. (To know this click on the object and refer the name box)
Select the sheet tab which you want to work with. Right click the sheet tab and click on 'View Code'. This will launch VBE. Paste the below code to the right blank portion. Get back to to worksheet and try double clicking on cell J8.
If you want this the object to be viewed on cell selection use the below code.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$J$8" Then
Application.ScreenUpdating = False
Sheets("Attachments").OLEObjects("Object 1").Verb
Me.Activate
Application.ScreenUpdating = True
End If
End Sub
else if you want this the object to be viewed on cell double click try the below.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address = "$J$8" Then
Application.ScreenUpdating = False
Sheets("Attachments").OLEObjects("Object 1").Verb
Me.Activate
Application.ScreenUpdating = True
Cancel = True
End If
End Sub