Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error 1004: Calculate Method of Range Class Failed
I have a very short and simple macro, whose purpose is to calculate the
selected range (thereby avoiding the time it takes to calc the entire sheet). Sub Recalc_Range() Selection.Calculate End Sub I was running Excel 97, and it worked fine. Now that I have updated to Excel XP, I get the following error message: "Calculate Method of Range Class Failed" I am stumped. I've tried a variety of things, like setting a range variable equal to the current selection, then running the calculate function on that range. Same error message. I have also read that you may get this error message if the Range has no data. My range has data, so that is not it. Any help is greatly appreciated. Dan |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error 1004: Calculate Method of Range Class Failed
Hi Dan,
Does this help? http://support.microsoft.com/default...b;en-us;292476 -- Regards, Jake Marx www.longhead.com [please keep replies in the newsgroup - email address unmonitored] Dan Winterton wrote: I have a very short and simple macro, whose purpose is to calculate the selected range (thereby avoiding the time it takes to calc the entire sheet). Sub Recalc_Range() Selection.Calculate End Sub I was running Excel 97, and it worked fine. Now that I have updated to Excel XP, I get the following error message: "Calculate Method of Range Class Failed" I am stumped. I've tried a variety of things, like setting a range variable equal to the current selection, then running the calculate function on that range. Same error message. I have also read that you may get this error message if the Range has no data. My range has data, so that is not it. Any help is greatly appreciated. Dan |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error 1004: Calculate Method of Range Class Failed
http://support.microsoft.com/default...b;en-us;292476
Does that fit your situation? -- Regards, Tom Ogilvy "Dan Winterton" <Dan wrote in message ... I have a very short and simple macro, whose purpose is to calculate the selected range (thereby avoiding the time it takes to calc the entire sheet). Sub Recalc_Range() Selection.Calculate End Sub I was running Excel 97, and it worked fine. Now that I have updated to Excel XP, I get the following error message: "Calculate Method of Range Class Failed" I am stumped. I've tried a variety of things, like setting a range variable equal to the current selection, then running the calculate function on that range. Same error message. I have also read that you may get this error message if the Range has no data. My range has data, so that is not it. Any help is greatly appreciated. Dan |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error 1004: Calculate Method of Range Class Failed
Perfect. Thanks.
"Tom Ogilvy" wrote: http://support.microsoft.com/default...b;en-us;292476 Does that fit your situation? -- Regards, Tom Ogilvy "Dan Winterton" <Dan wrote in message ... I have a very short and simple macro, whose purpose is to calculate the selected range (thereby avoiding the time it takes to calc the entire sheet). Sub Recalc_Range() Selection.Calculate End Sub I was running Excel 97, and it worked fine. Now that I have updated to Excel XP, I get the following error message: "Calculate Method of Range Class Failed" I am stumped. I've tried a variety of things, like setting a range variable equal to the current selection, then running the calculate function on that range. Same error message. I have also read that you may get this error message if the Range has no data. My range has data, so that is not it. Any help is greatly appreciated. Dan |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error 1004: Calculate Method of Range Class Failed
Perfect. Thanks.
"Jake Marx" wrote: Hi Dan, Does this help? http://support.microsoft.com/default...b;en-us;292476 -- Regards, Jake Marx www.longhead.com [please keep replies in the newsgroup - email address unmonitored] Dan Winterton wrote: I have a very short and simple macro, whose purpose is to calculate the selected range (thereby avoiding the time it takes to calc the entire sheet). Sub Recalc_Range() Selection.Calculate End Sub I was running Excel 97, and it worked fine. Now that I have updated to Excel XP, I get the following error message: "Calculate Method of Range Class Failed" I am stumped. I've tried a variety of things, like setting a range variable equal to the current selection, then running the calculate function on that range. Same error message. I have also read that you may get this error message if the Range has no data. My range has data, so that is not it. Any help is greatly appreciated. Dan |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error 1004: Calculate Method of Range Class Failed
Does anyone know of a workaround other than turning off the Iterations
count? Having Iterations and Manual Calc mode ON is a very useful combo in many cases. thanks Dan Winterton wrote: Perfect. Thanks. "Tom Ogilvy" wrote: http://support.microsoft.com/default...b;en-us;292476 Does that fit your situation? -- Regards, Tom Ogilvy "Dan Winterton" <Dan wrote in message ... I have a very short and simple macro, whose purpose is to calculate the selected range (thereby avoiding the time it takes to calc the entire sheet). Sub Recalc_Range() Selection.Calculate End Sub I was running Excel 97, and it worked fine. Now that I have updated to Excel XP, I get the following error message: "Calculate Method of Range Class Failed" I am stumped. I've tried a variety of things, like setting a range variable equal to the current selection, then running the calculate function on that range. Same error message. I have also read that you may get this error message if the Range has no data. My range has data, so that is not it. Any help is greatly appreciated. Dan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Runtime 1004 error -- insert method of range class failed. | Excel Discussion (Misc queries) | |||
Select method of range class failed, Run time error 1004 | Excel Programming | |||
runtime error '1004' delete Method of Range Class Failed | Excel Programming | |||
Run-time error '1004' PasteSpecial Method of Range Class Failed | Excel Programming | |||
error 1004 Select method of Range class failed | Excel Programming |