Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Help on writing class module

Hi,

I don't know anything about class module, but I think I know what I want to
do will need to be done in class module since it is an Application level
function.

I want to show a MsgBox whenever Application.CalculationState < xlDone, so
that user of the spreadsheet is aware of the calculation state. Since most
people hide the status bar to increase view area.

Thanks
Augustus
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Help on writing class module

Chip Pearson has a bunch of notes for application events at:

http://www.cpearson.com/excel/AppEvent.htm

At the bottom of that page, there's a link to download a sample workbook. Don't
miss that.

Personally, I never hide the statusbar. (I would find the message box very
irritating when calculation is set to automatic and I'm changing formulas.)



augustus wrote:

Hi,

I don't know anything about class module, but I think I know what I want to
do will need to be done in class module since it is an Application level
function.

I want to show a MsgBox whenever Application.CalculationState < xlDone, so
that user of the spreadsheet is aware of the calculation state. Since most
people hide the status bar to increase view area.

Thanks
Augustus


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Help on writing class module

augustus,
I agree with Dave. If I had to continually click a MsgBox, I would
immediately drop the product.
You could test to see if the Status bar is visible and then show 1 msgbox to
indicate to the user that your app will not work as designed. Give them the
option that you show it or not.

NickHK

"Dave Peterson" wrote in message
...
Chip Pearson has a bunch of notes for application events at:

http://www.cpearson.com/excel/AppEvent.htm

At the bottom of that page, there's a link to download a sample workbook.

Don't
miss that.

Personally, I never hide the statusbar. (I would find the message box

very
irritating when calculation is set to automatic and I'm changing

formulas.)



augustus wrote:

Hi,

I don't know anything about class module, but I think I know what I want

to
do will need to be done in class module since it is an Application level
function.

I want to show a MsgBox whenever Application.CalculationState < xlDone,

so
that user of the spreadsheet is aware of the calculation state. Since

most
people hide the status bar to increase view area.

Thanks
Augustus


--

Dave Peterson



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Help on writing class module

Thanks Dave Peterson and NickHK.

I forgot about when someone change a cell would also trigger calculation.
Is there way to prevent user from doing anything while
Application.Calculation<xlDone, becuase people tend to be very impatience?

Thanks
Augustus

"NickHK" wrote:

augustus,
I agree with Dave. If I had to continually click a MsgBox, I would
immediately drop the product.
You could test to see if the Status bar is visible and then show 1 msgbox to
indicate to the user that your app will not work as designed. Give them the
option that you show it or not.

NickHK

"Dave Peterson" wrote in message
...
Chip Pearson has a bunch of notes for application events at:

http://www.cpearson.com/excel/AppEvent.htm

At the bottom of that page, there's a link to download a sample workbook.

Don't
miss that.

Personally, I never hide the statusbar. (I would find the message box

very
irritating when calculation is set to automatic and I'm changing

formulas.)



augustus wrote:

Hi,

I don't know anything about class module, but I think I know what I want

to
do will need to be done in class module since it is an Application level
function.

I want to show a MsgBox whenever Application.CalculationState < xlDone,

so
that user of the spreadsheet is aware of the calculation state. Since

most
people hide the status bar to increase view area.

Thanks
Augustus


--

Dave Peterson




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Help on writing class module

augustus,
Do you have a work sheet that takes a long time to recalculate ?
You could switch to manual calculation.

NickHK


"augustus" wrote in message
...
Thanks Dave Peterson and NickHK.

I forgot about when someone change a cell would also trigger calculation.
Is there way to prevent user from doing anything while
Application.Calculation<xlDone, becuase people tend to be very

impatience?

Thanks
Augustus

"NickHK" wrote:

augustus,
I agree with Dave. If I had to continually click a MsgBox, I would
immediately drop the product.
You could test to see if the Status bar is visible and then show 1

msgbox to
indicate to the user that your app will not work as designed. Give them

the
option that you show it or not.

NickHK

"Dave Peterson" wrote in message
...
Chip Pearson has a bunch of notes for application events at:

http://www.cpearson.com/excel/AppEvent.htm

At the bottom of that page, there's a link to download a sample

workbook.
Don't
miss that.

Personally, I never hide the statusbar. (I would find the message box

very
irritating when calculation is set to automatic and I'm changing

formulas.)



augustus wrote:

Hi,

I don't know anything about class module, but I think I know what I

want
to
do will need to be done in class module since it is an Application

level
function.

I want to show a MsgBox whenever Application.CalculationState <

xlDone,
so
that user of the spreadsheet is aware of the calculation state.

Since
most
people hide the status bar to increase view area.

Thanks
Augustus

--

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
CLASS MODULE & SIMPLE MODULE FARAZ QURESHI Excel Discussion (Misc queries) 1 September 7th 07 09:32 AM
let and get in class module Doug Glancy Excel Programming 3 June 30th 04 02:30 PM
Class module Mark[_36_] Excel Programming 2 February 17th 04 03:14 PM
Class module David Excel Programming 4 December 31st 03 01:58 PM
Variable from a sheet module in a class module in XL XP hglamy[_2_] Excel Programming 2 October 14th 03 05:48 PM


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

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"