Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot table cutting information of a part of the information ASR Excel Discussion (Misc queries) 1 November 5th 09 02:09 PM
Help!! using sheet 1 information to change information on sheet 2 I want to learn more Excel Worksheet Functions 2 September 30th 08 05:25 PM
Information box bernd Excel Programming 0 July 19th 07 03:56 PM
Name Box Information ohpspe Excel Discussion (Misc queries) 1 November 18th 05 05:57 PM
Information from one cell pulls information from another cell ACTLibrarian Excel Programming 1 November 13th 04 04:01 PM


All times are GMT +1. The time now is 10:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"