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

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,462
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

Teeroy

Well-known Member
Joined
Nov 9, 2012
Messages
2,244
Office Version
  1. 365
Platform
  1. Windows
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

shodie

New Member
Joined
Jun 23, 2014
Messages
5
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,191,312
Messages
5,985,924
Members
439,988
Latest member
JDayco

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
Top