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
Firebird AutoID VB.net code
I need to change the color of a DataGridView scrollbar in C# WinForms
Mapping a network drive in VB.NET or accessing a protected network path
Access Sort continuous form by Columns
HTTP Error 404.3 on IIS 7.0
GUID of a ActiveX OCX
Oracle Form 4.5 Update Allowed Problem
WIN Network on SBS 2K3 server has disappeared
How can I send HTML formatted emails to someone who signs up on my site
Maintain cloumn width while using datasheet view