Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default macro sets Application.Calculation = xlManual , disables Tools Opt

When I set Application.Calculation=xlManual in a macro, it disables the menu
"Tools Options" selection. Setting Application.Calculation=xlAutomatic does
not re-enable "Tools Options." The HELP files have an example which uses
xlManual, xlAutomatic, yet when you type in the code, the prompts suggest
xlCalculationManual and xlCalculationAutomatic. The problem occurs no matter
what the choice of constant.

This is in Excel 2000. ...anyone know a fix?
Patito
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default macro sets Application.Calculation = xlManual , disables Tools Opt

I think that there may be other things interfering with your tools|options.

I've never seen this problem in xl2k (or any other version).

Patito wrote:

When I set Application.Calculation=xlManual in a macro, it disables the menu
"Tools Options" selection. Setting Application.Calculation=xlAutomatic does
not re-enable "Tools Options." The HELP files have an example which uses
xlManual, xlAutomatic, yet when you type in the code, the prompts suggest
xlCalculationManual and xlCalculationAutomatic. The problem occurs no matter
what the choice of constant.

This is in Excel 2000. ...anyone know a fix?
Patito


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default macro sets Application.Calculation = xlManual , disables Tools

I noticed that most, but not all, of the toolbars were grayed out, in
addition to various menu items, reminiscent of when you are editing a cell
and leave the cursor in the formula bar. Sure enough, my problems were due to
setting the caption of a toggle button in the macro (in addition to turning
calculation off or on) and not selecting something else (like a cell). The
toggle button retained focus, which disabled menu items, tool bars and such.

The macro now selects a cell, which shifts focus to the worksheet again, and
all is well. Thanks for trying to help, Dave.

"Dave Peterson" wrote:

I think that there may be other things interfering with your tools|options.

I've never seen this problem in xl2k (or any other version).

Patito wrote:

When I set Application.Calculation=xlManual in a macro, it disables the menu
"Tools Options" selection. Setting Application.Calculation=xlAutomatic does
not re-enable "Tools Options." The HELP files have an example which uses
xlManual, xlAutomatic, yet when you type in the code, the prompts suggest
xlCalculationManual and xlCalculationAutomatic. The problem occurs no matter
what the choice of constant.

This is in Excel 2000. ...anyone know a fix?
Patito


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default macro sets Application.Calculation = xlManual , disables Tools

Thanks for posting back.

Now google has it for the next person who has a similar problem.

Patito wrote:

I noticed that most, but not all, of the toolbars were grayed out, in
addition to various menu items, reminiscent of when you are editing a cell
and leave the cursor in the formula bar. Sure enough, my problems were due to
setting the caption of a toggle button in the macro (in addition to turning
calculation off or on) and not selecting something else (like a cell). The
toggle button retained focus, which disabled menu items, tool bars and such.

The macro now selects a cell, which shifts focus to the worksheet again, and
all is well. Thanks for trying to help, Dave.

"Dave Peterson" wrote:

I think that there may be other things interfering with your tools|options.

I've never seen this problem in xl2k (or any other version).

Patito wrote:

When I set Application.Calculation=xlManual in a macro, it disables the menu
"Tools Options" selection. Setting Application.Calculation=xlAutomatic does
not re-enable "Tools Options." The HELP files have an example which uses
xlManual, xlAutomatic, yet when you type in the code, the prompts suggest
xlCalculationManual and xlCalculationAutomatic. The problem occurs no matter
what the choice of constant.

This is in Excel 2000. ...anyone know a fix?
Patito


--

Dave Peterson


--

Dave Peterson
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
Macro disables "undo" feature..help please Terry Excel Worksheet Functions 6 February 21st 08 04:38 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
Application.Calculation Gareth[_3_] Excel Programming 2 December 6th 03 01:53 PM
Application Calculation Error Rick B[_4_] Excel Programming 2 December 2nd 03 08:49 PM
Application.Calculation exception Bill Lunney Excel Programming 0 July 29th 03 04:46 PM


All times are GMT +1. The time now is 04:05 AM.

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

About Us

"It's about Microsoft Excel"