CodePudding user response:
I think from the "events" itself, it is not possible,Because of this "event" of object is the WorkSheet, how is it possible to inform UserForm!
You this requirement, or in each worksheet to write honestly event code (if just show "activity cell content", also just so 1 word),
Or use the Timer event "" scan regularly, have found that the current activity worksheet/cell changes, just update the TextBox display content,
CodePudding user response:
Can do ah, don't write in each sheet, is not a "TisWorkbook", in there, there is sheetSelectionChange events can use the
Private Sub Workbook_SheetSelectionChange (ByVal Sh As Object, ByVal Target As Range)
The Debug. Print Target. The Worksheet. CodeName & amp; ":" & amp; Target. Row & amp; ", "& amp; Target. The Column & amp;
")"End Sub
CodePudding user response:
Oh, you want to form, the code change, directly throwing a userform. Textbox1 and so onCodePudding user response: