View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jenni[_2_] Jenni[_2_] is offline
external usenet poster
 
Posts: 3
Default Spreadsheet opened by user or programme

Hi, what I'm, wanting to know is if there is a way of knowing if a
spreadsheet was opened by a user clicking on the file name, or if it
was opened by another programme.

something like this:

Private Sub form_activate

If "form was opened by user" then
'do stuff
Else
'form was opened by onother programme - Access in this case
'do other stuff
End if

End Sub

Thanks in advance
Jenni