Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default creating a popup answer for an average range of cells

How do I Roll over a range of cells and have their average show as a "pop up"?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default creating a popup answer for an average range of cells

This will give you an average for each and every selection you make. I'm
guessing it's going to be obnoxious if someone is changing any data.

Right click on the worksheet to View source. Paste this in

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not IsEmpty(Target) Then
MsgBox ("Average: " & WorksheetFunction.Average(Target.Value))
End If
End Sub

--
HTH,
Barb Reinhardt



"1zipsails" wrote:

How do I Roll over a range of cells and have their average show as a "pop up"?

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
average range of cells with zero and blanks Lisa Excel Discussion (Misc queries) 3 June 24th 08 09:10 PM
Average Selected Cells From a Range pdberger Excel Worksheet Functions 3 July 19th 07 05:21 PM
How do I average a range of cells when one cell contains #N/A hongkonglt Excel Discussion (Misc queries) 3 September 19th 05 02:13 AM
Creating Custom Dialog Boxex (Popup) Brad Sumner Excel Discussion (Misc queries) 9 June 17th 05 02:14 PM
average of visible cells in a filtered range dave roth Excel Worksheet Functions 5 May 23rd 05 12:56 PM


All times are GMT +1. The time now is 04:20 AM.

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"