Recalculating multiple cells

shodie

New Member
Joined
Jun 23, 2014
Messages
5
Hi

How do you reclaculate multiple cells within a worksheet? I want to be able to highlight certain cells and then refresh them.

Using F2 in each cell takes to long.

I don't want to refresh the entire worksheet so can't use F9
The cells are not in an array or range.

Thanks.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
You could assign this macro to a short-cut

Code:
[color=darkblue]Sub[/color] Recalc_Selection()
    [color=darkblue]On[/color] [color=darkblue]Error[/color] [color=darkblue]Resume[/color] [color=darkblue]Next[/color]
    Selection.Calculate
[color=darkblue]End[/color] [color=darkblue]Sub[/color]
 
Upvote 0
Also, if the cells are always the same, you could combine them as a named range and modify Aphafrog's macro to use that rather than selecting them each time.
 
Upvote 0
I haven't worked much with macros. Would I have to set this macro up for every spreadsheet?

The cells requiring recalcuation will change.
 
Upvote 0

Forum statistics

Threads
1,222,227
Messages
6,164,716
Members
451,912
Latest member
HMF009

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