LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 118
Default Create simple commandbutton for manual recalculation

Hi, Bryan. I'm not the most savvy person, so take my comments with large
grains of salt. But here's where I would start:
<snip
- Have *manual* calculation saved as the default behaviour for *this
spreadsheet only*.


In the ThisWorkbook module:
Private Sub Workbook_Open()
Application.Calculation = xlCalculationManual
End Sub

- Place a commandbutton (or the most appropriate widget) in the

spreadsheet
itself. The user would click this "Calculate Now" button to perform

manual
calculation of the spreadsheet once all data have been entered or

modified.

In the Sheet module:
Sub Calc
Calculate
End Sub

Assign this to your button.

These specific items are untested, though I've used similar items. Like I
said, I'm not the greatest, but this is where I would start.

HTH
Ed


 
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
keep manual recalculation mode on Greg Excel Worksheet Functions 2 January 26th 10 03:43 PM
Create Manual Date reza Excel Discussion (Misc queries) 4 August 19th 09 08:54 AM
Create a simple input box Marilyn Excel Discussion (Misc queries) 4 October 28th 08 09:08 AM
How do I create a simple macro Mrskydiver Excel Discussion (Misc queries) 1 March 13th 05 09:10 AM
Help - setting up manual recalculation when opeing a file (but before it starts recalculating) German[_4_] Excel Programming 5 February 1st 04 07:41 AM


All times are GMT +1. The time now is 04:52 PM.

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"