View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
strataguru[_6_] strataguru[_6_] is offline
external usenet poster
 
Posts: 1
Default looping through worksheets from addin

think i got it with the following:


Private Sub XLapp_SheetChange(ByVal Sh As Object, ByVal Target As
Range)
' code
For Each ws In Sh.Parent.Worksheets

' code

Next ws
End Sub

Thanks for the pointers!
-Robin



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/