![]() |
Information Box
Hello,
I've a worksheet with about ten sheets. On each sheet I want to create a sheet specific information box, which pops up after clicking a button. The information contains several lines of text. I prefer to have the information that is shown in these boxes in a single place (maybe another worksheet?) Anyone ideas of how to do this? Thanks, Bernd |
Information Box
Place this code into a standard code module. Add command buttons from the
Forms Toolbar and assign them to this macro. Public Sub SheetMessage() Select Case ActiveSheet.Name Case "Sheet2" MsgBox Sheets("Sheet1").Range("A1").Value Case "Sheet3" MsgBox Sheets("Sheet1").Range("A2").Value End Select End Sub I placed buttons on Sheet 2 and Sheet 3 and placed messages in Cells A1 and A2 of sheet 1. -- HTH... Jim Thomlinson "bernd" wrote: Hello, I've a worksheet with about ten sheets. On each sheet I want to create a sheet specific information box, which pops up after clicking a button. The information contains several lines of text. I prefer to have the information that is shown in these boxes in a single place (maybe another worksheet?) Anyone ideas of how to do this? Thanks, Bernd |
All times are GMT +1. The time now is 11:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com