LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Multiply selected cell by a input form

Hi,

I need a macro that I can assign to a form button that will multiply the
value in the selected cell by a percentage entered in an input message box.

Basically, I want to be able to select a cell with a number in it, I press
this form button with a macro, and then it gives me an input message box - I
enter 80 for 80% - and it multiplies the current value by 0.8 and replaces
the previous value with that value.

(Because for the end users, most cells will be locked and protected, I need
an easy way to do this with a macro.)

Does anyone know how to make a macro that will do this?

Thanks in advance! I really appreciate your replies!

Ben
 
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
Automatically input a symbol in a selected cell mapesii Excel Discussion (Misc queries) 3 March 14th 09 05:11 AM
Position a user form next to selected cell nowhereman Excel Programming 1 September 20th 08 06:14 PM
Code to Query SQL Server with a parameter value (entered into an Input Box), and have that value also display in a selected cell on a worksheet Doctorjones_md Excel Programming 3 June 27th 07 04:14 PM
code to input date after diff. cell selected Kelzina Excel Programming 2 November 22nd 06 05:45 AM
Setting up a form to input into selected worksheet Bob Excel Discussion (Misc queries) 0 June 29th 05 10:53 PM


All times are GMT +1. The time now is 04:38 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"