VBA to assign preset formulas to cells but allow input value

NewUser2

Board Regular
Joined
Jan 27, 2015
Messages
54
Hi So I am wondering if there is an easy way to assign preset formulas to cells having it so,,, for example I could have something like = __ +35. The goal is that when someone types a number into that cell, it will automatically add 35 to whatever number they typed in.

The kicker is that I need this all to occur in One cell. It can't use two, that would be easy (just have A1 blank, then B1 =A1+35 and have the person enter their number in A1).

Is this possible? If I had it set up as VBA code for my worksheet.

Thanks!
 
you need something like if the cell in question changes then the macro immediately adds 35 to the cell

maybe around on cells(1,1).update then call macro1
 
Upvote 0
That sounds like it could be good. I don't really know much/anything about VBA.. could you please clarify?
Is 'around on cells' a command?

Thanks!


you need something like if the cell in question changes then the macro immediately adds 35 to the cell

maybe around on cells(1,1).update then call macro1
 
Upvote 0
no -- by around I meant something like this

google EXCEL run macro when specific action occurs
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top