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
combo box won't hold default value
dateDiff - combining a date selection and a time selection
Domain trust between Windows Server 2008 R2 and Windows Server 2003
Outlook Send/Recieve Progress Dialogue Box
Exchange 2007 OWA causes 2 audit failures on failed login attempt
jQuery Chained Select Boxes - Three Tiered ( third tier selected )
sumif with 2 conditions
Ways to merge files in linux
VB.Net 2010: ResourceManager.GetObject fails with silent exception on x64
alpha towards the end of the stage