Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Recalculating single cell

I'm trying to recalculate a single cell with code on a Excel sheet.

My code is:
Range("rSales").calculate

The sheet is unprotected.
The error message is: Calculate method of Range class failed

What am I doing wrong?
Thanks very much
Daniel Bonallack

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Recalculating single cell

Everything you ever wanted to know about Excel Calculation but were affraid
to ask is on this site

http://www.decisionmodels.com/calcsecrets.htm

HTH

"Daniel Bonallack" wrote:

I'm trying to recalculate a single cell with code on a Excel sheet.

My code is:
Range("rSales").calculate

The sheet is unprotected.
The error message is: Calculate method of Range class failed

What am I doing wrong?
Thanks very much
Daniel Bonallack

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Recalculating single cell

Hi Daniel,

Long time :-)

What is rSales, is it a variable, or a workbook name? And what is its value?

--
HTH

Bob Phillips

"Daniel Bonallack" wrote in
message ...
I'm trying to recalculate a single cell with code on a Excel sheet.

My code is:
Range("rSales").calculate

The sheet is unprotected.
The error message is: Calculate method of Range class failed

What am I doing wrong?
Thanks very much
Daniel Bonallack



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Recalculating single cell

Thanks - that's quite an impressive site!

"Jim Thomlinson" wrote:

Everything you ever wanted to know about Excel Calculation but were affraid
to ask is on this site

http://www.decisionmodels.com/calcsecrets.htm

HTH

"Daniel Bonallack" wrote:

I'm trying to recalculate a single cell with code on a Excel sheet.

My code is:
Range("rSales").calculate

The sheet is unprotected.
The error message is: Calculate method of Range class failed

What am I doing wrong?
Thanks very much
Daniel Bonallack

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Recalculating single cell

Hi Bob
How's things?
You may not get this at this late date - rSales is just a range name for a
single cell - I might just have well said Range("A1").calculate.

Daniel


"Bob Phillips" wrote:

Hi Daniel,

Long time :-)

What is rSales, is it a variable, or a workbook name? And what is its value?

--
HTH

Bob Phillips

"Daniel Bonallack" wrote in
message ...
I'm trying to recalculate a single cell with code on a Excel sheet.

My code is:
Range("rSales").calculate

The sheet is unprotected.
The error message is: Calculate method of Range class failed

What am I doing wrong?
Thanks very much
Daniel Bonallack




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop specific cell from recalculating? Tony Gravagno Excel Worksheet Functions 3 November 16th 07 06:21 PM
please help! Linking a picture to a cell and recalculating automatically [email protected] Excel Discussion (Misc queries) 3 July 1st 06 03:18 PM
cursor tracks / highlights recalculating cell? [email protected] Excel Discussion (Misc queries) 1 October 11th 05 08:24 PM
cell/range with formula not recalculating suzetter Excel Worksheet Functions 0 July 27th 05 05:09 PM
Recalculating cell Dennis Allen Excel Programming 6 September 13th 04 08:29 PM


All times are GMT +1. The time now is 06:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"