Microsoft
Software
Hardware
Network
Question : Excel 2007 Event when changing from one workbook sheet to another with in the same workbook.
I am trying populate the caption on an ActiveX button. I am entering the text in a cell in sheet-B and the button lives in sheet_A. I would think the approch would be when I switch from sheet-B to sheet-A I could use an event and populate the button.
Answer : Excel 2007 Event when changing from one workbook sheet to another with in the same workbook.
you would need to put your code in the ThisWorkbook Module using this event
Private Sub Workbook_SheetChange(ByVal
Sh As Object, ByVal Target As Range)
'Your Code Here
End Sub
HTH,
-DAvid251
Random Solutions
License CAL Exchange 2007
How to cleanly kill an Excel object from memory.
Open new window from gridview hyperlink with no menu or toolbar in new window (also set width and height)
sendAndLoad onHTTPStatus issue
Buffalo Tera Station and Windows Server 2008 Authentification
Learning PHP PDO
How can i use “COALESCE(SUM…” in linq?
iMac Snow Leopard Mouse pointer jitter and always go back to upper left corner
droid not syncing when outlook is closed
Sage ACT 2010 - How to create the database in the server and provide connection for remote computers