+ Reply to Thread
Results 1 to 2 of 2

Calculate a single cell in VBA

  1. #1
    Registered User
    Join Date
    01-12-2021
    Location
    Sydney, Oz
    MS-Off Ver
    Home and Student 2016
    Posts
    46

    Calculate a single cell in VBA

    Range("cell_name").Calculate works ok
    but Cells(r, c).Calculate did nothing to a calculation yesterday (so I reverted to calculating the whole sheet).

    Is that the way it's supposed to be? Seems a little odd.

    EDIT: Hmmm, I just did one manually in the Immediate window, and it did indeed recalculate the cell (as you would expect). Musta been one of my dopey errors yesterday.
    Last edited by FenceFurniture; 01-13-2021 at 08:27 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Calculate a single cell in VBA

    Maybe you want to mark the thread as Solved, given you seem to have answered your own question?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. calculate SSW and SSB within a single cell
    By JimmyWilliams in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-12-2020, 01:57 AM
  2. Replies: 1
    Last Post: 10-23-2019, 04:30 AM
  3. Calculate Covariance in a single cell
    By JimmyWilliams in forum Excel General
    Replies: 4
    Last Post: 09-24-2018, 11:29 AM
  4. Calculate Time Range In Single Cell
    By A_H in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-11-2017, 12:06 AM
  5. Formula to calculate single cell based on many variables
    By malawimick in forum Excel General
    Replies: 7
    Last Post: 12-15-2011, 02:13 AM
  6. [SOLVED] Is there a way to calculate 4x10 in a single cell?
    By Excell novice in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-15-2006, 06:25 PM
  7. Replies: 2
    Last Post: 12-16-2005, 02:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1