Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default Execute Upon Opening

When I open up one particular file (that has data tables), I would like a macro to immediately tell EXCEL that I want to temporarily alter my normal default setting which is auto recalc, in favor of auto recalc without data tables. Can this EXCEL setting be changed by a macro that automatically launches when this file is opened? Here is the macro I pasted (I didn't create it per se, in case it matters) into the "This Workbook" object, but it doesn't seem to be working.

Private Sub Workbook_Open()
With Application
.Calculation = xlSemiautomatic
.MaxChange = 0.01
End With
ActiveWorkbook.PrecisionAsDisplayed = False
End Sub

Thanks much!
Dean

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
Execute macro at opening file clippan New Users to Excel 1 November 26th 05 10:03 AM
Execute C++ from Excel serine New Users to Excel 0 October 6th 05 08:48 PM
How to Write a sub to execute the following Ronald Cayne Excel Programming 3 April 26th 05 07:40 AM
Could not execute Gary Excel Worksheet Functions 1 December 20th 04 06:20 PM
Execute program (macro?) upon opening a workbook Warren Excel Programming 3 February 19th 04 03:16 PM


All times are GMT +1. The time now is 05:13 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"