PC Review


Reply
Thread Tools Rate Thread

Creating a Pop-up Summary Box with Data

 
 
radhikachar@gmail.com
Guest
Posts: n/a
 
      2nd Mar 2007
Is it possible to create a pop-up or dialog box that can tell you the
sum of two cells? The values in the two cells will keep changing, but
I want the sum to pop up so it is easy to see. Thanks!

 
Reply With Quote
 
 
 
 
Susan
Guest
Posts: n/a
 
      2nd Mar 2007
sure! example:

Sub msgbox_sum()

Dim numberone As Range
Dim numbertwo As Range
Dim ws As Worksheet

Set ws = ActiveSheet
Set numberone = ws.Range("b3")
Set numbertwo = ws.Range("b6")

MsgBox numberone + numbertwo


End Sub

change ranges to meet your needs.
susan



On Mar 2, 4:01 pm, radhikac...@gmail.com wrote:
> Is it possible to create a pop-up or dialog box that can tell you the
> sum of two cells? The values in the two cells will keep changing, but
> I want the sum to pop up so it is easy to see. Thanks!



 
Reply With Quote
 
radhikachar@gmail.com
Guest
Posts: n/a
 
      2nd Mar 2007
I'm sorry, I don't know much about visual basic. How can I get the
pop up display to say, "The total is" and then show the number? Is it
also possible to change the ranges so that one value might be on one
sheet, whereas the other value is on another?

Thank you very much!

On Mar 2, 3:08 pm, "Susan" <bogenex...@aol.com> wrote:
> sure! example:
>
> Sub msgbox_sum()
>
> Dim numberone As Range
> Dim numbertwo As Range
> Dim ws As Worksheet
>
> Set ws = ActiveSheet
> Set numberone = ws.Range("b3")
> Set numbertwo = ws.Range("b6")
>
> MsgBox numberone + numbertwo

I> End Sub

>
> change ranges to meet your needs.
> susan
>
> On Mar 2, 4:01 pm, radhikac...@gmail.com wrote:
>
>
>
> > Is it possible to create a pop-up or dialog box that can tell you the
> > sum of two cells? The values in the two cells will keep changing, but
> > I want the sum to pop up so it is easy to see. Thanks!- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      2nd Mar 2007
Select the two cells then right-click on the status bar and "Sum"

Or in a third cell enter =cell1 + cell2

A pop-up message would require VBA

Sub Sum_Range()
Set rng = Selection
MsgBox "The Sum is " & WorksheetFunction.Sum(rng)
End Sub


Gord Dibben MS Excel MVP


On 2 Mar 2007 13:01:40 -0800, (E-Mail Removed) wrote:

>Is it possible to create a pop-up or dialog box that can tell you the
>sum of two cells? The values in the two cells will keep changing, but
>I want the sum to pop up so it is easy to see. Thanks!


 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      2nd Mar 2007
If you select two numeric cells, in the lower right corner of excel, you
should see the sum. It works for all cells selected.

Use the built in capabilities of the software.

--
Regards,
Tom Ogilvy





"(E-Mail Removed)" wrote:

> Is it possible to create a pop-up or dialog box that can tell you the
> sum of two cells? The values in the two cells will keep changing, but
> I want the sum to pop up so it is easy to see. Thanks!
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating regional summary data twcinnh Microsoft Excel Misc 2 23rd Jan 2007 10:07 AM
creating a summary from a data dump awaisb Microsoft Excel Programming 4 29th Sep 2005 10:06 PM
Creating a summary list from source data - can you?? =?Utf-8?B?TWFydHk=?= Microsoft Excel Misc 1 16th Sep 2005 04:12 AM
Creating a summary from existing spreadsheet data ... NP Microsoft Excel Misc 8 29th Oct 2004 02:39 PM
Creating a summary from existing spreadsheet data ... NP Microsoft Excel Programming 8 29th Oct 2004 02:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:26 AM.