Keyboard Macro

MikeDBMan

Well-known Member
Joined
Nov 10, 2010
Messages
610
I wish to have a macro that just does this:

Hits F2 (for cell edit)
Then Hits enter key

I can't record a macro that does that. It edits the formula. Suggestions?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Why are you trying to do this?
Do you have formulas that wwere entered as text and trying to convert them to formulas so they will calculate?
 
Upvote 0
If that is the case, here is a simple macro that will convert the ActiveCell to a formula. You can then assign this macro to a keyboard shortcut, if you like:
Code:
Sub ConvertToFormula()
    ActiveCell.NumberFormat = "General"
    ActiveCell.Formula = ActiveCell.Text
End Sub
 
Upvote 0
I am trying to do this because There are #Value in the cells and calculating does not recalculate it to a value. But Editing and hitting enter does.
 
Upvote 0
I am trying to do this because There are #Value in the cells and calculating does not recalculate it to a value. But Editing and hitting enter does.
Why do you have a #Value error?
Is your AutoCalc shut off? If so, just turning it back on of hitting F9 to recalculate should take care of the problem.
 
Upvote 0
It is not that simple. There is an upload VBA program to upload data into an SAP accounting package called BPC. When connected to BPC, the #Value was somehow displaying even though there is a valid formula in the cell. But if I manually update them the value "reappears" when I am not using the BPC upload. Hope this makes sense.
 
Upvote 0
What happens if you press F9 to recalculate?
Does it fix it?
 
Upvote 0
Can you post one of these formulas returning that error?
 
Upvote 0
Sure. It is a fairly simple formula:

Code:
=-1*(SUMIF('Revenue-Prod'!$A$8:$A$20,'BPC Submit Ivy'!$M40,'Revenue-Prod'!D$8:D$20))+'Revenue-Prod'!D91
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,451
Members
452,915
Latest member
hannnahheileen

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