Ken Puls
Active Member
- Joined
- Jun 9, 2003
- Messages
- 484
Hello,
I'm having some issues with a subroutine that I'm working with. I've tried searching the board, but haven't come across anything.
I have an add-in with the following procedure called from my right click menu:
The problem is that when I try to use it, I get a:
Run Time Error '1004'
Calculate Method of Range Class Failed
I actually had this right in the file, but changed it to an add-in as I need to share it with other people who usual manual calcuation all the time. It worked yesterday just fine, but not in the add-in version. I do know that it's calling the add-in though, as hitting debug does take me to this routine.
Other factors:
-Retruns error on protected or unprotected ranges
-Have unprotected all sheets, saved the file, and restarted Excel, but still the same issue.
-A reference is set in the file to the add-in
-Using Excel XP(2002) on Win XP
Can anyone help me out with this?
Thanks,
I'm having some issues with a subroutine that I'm working with. I've tried searching the board, but haven't come across anything.
I have an add-in with the following procedure called from my right click menu:
Code:
Public Sub Calculation_Recalc_Selection()
Selection.Calculate
End Sub
The problem is that when I try to use it, I get a:
Run Time Error '1004'
Calculate Method of Range Class Failed
I actually had this right in the file, but changed it to an add-in as I need to share it with other people who usual manual calcuation all the time. It worked yesterday just fine, but not in the add-in version. I do know that it's calling the add-in though, as hitting debug does take me to this routine.
Other factors:
-Retruns error on protected or unprotected ranges
-Have unprotected all sheets, saved the file, and restarted Excel, but still the same issue.
-A reference is set in the file to the add-in
-Using Excel XP(2002) on Win XP
Can anyone help me out with this?
Thanks,