Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Automatically multiplying totals on a userform

Hi all
I need to be able to have a userform automatically multiply the totals of
textbox 2 by textbox 7 and display it in textbox 10.

How do I do this?

Thanks

Greg


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Automatically multiplying totals on a userform

In the UserForm's code module, put the following:

Private Sub TextBox2_Change()

TextBox10 = Val(TextBox2) * Val(TextBox7)

End Sub

Private Sub TextBox7_Change()

TextBox10 = Val(TextBox2) * Val(TextBox7)

End Sub

"Greg B" wrote:

Hi all
I need to be able to have a userform automatically multiply the totals of
textbox 2 by textbox 7 and display it in textbox 10.

How do I do this?

Thanks

Greg



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
Multiplying specific data within a range to get column totals MsChief Excel Worksheet Functions 2 March 30th 07 04:44 AM
How do I automatically compile totals from 12 worksheets into 1? PippyKat Excel Worksheet Functions 2 June 23rd 06 02:39 PM
Printing running totals automatically xe3l Excel Discussion (Misc queries) 2 January 24th 06 09:30 AM
How do I automatically drop totals from one worksheet into another ladytar Excel Worksheet Functions 5 October 3rd 05 10:15 PM
Are sub-totals able to be set to be bold automatically? Ellie Excel Discussion (Misc queries) 1 February 2nd 05 01:31 PM


All times are GMT +1. The time now is 05:22 AM.

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

About Us

"It's about Microsoft Excel"