View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim Carlock[_2_] Jim Carlock[_2_] is offline
external usenet poster
 
Posts: 33
Default ThisWorkbook variables...

Option Explicit

Private strPath As String

Private Sub ThisWorkbook_Open()
strPath = ThisWorkbook.Path
End Sub

What's the lifetime of strPath? There a reference anywhere that
explains the lifetime of objects/variables?

--
Jim Carlock
http://www.microcosmotalk.com
Feel free to post back to the newsgroup!