Go Back   Flexsim Community Forum > Flexsim Software > Tips and Tricks
FAQ Downloads Calendar Search Mark Forums Read vBExperience Register

Tips and Tricks Share helpful modeling ideas

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2010
Nico Zahn's Avatar
Nico Zahn Nico Zahn is offline
Flexsim User
 
Join Date: Sep 2007
Location: Bingen am Rhein, Germany
Posts: 173
Thanks: 63
Thanked 56 Times in 31 Posts
Downloads: 19
Uploads: 4
Rep Power: 82
Nico Zahn has a spectacular aura aboutNico Zahn has a spectacular aura about
Default Speeding up Excel Export

Hi,
if you have Excelexports which export to Worksheets with a lot of calculation and a lot of Diagramms you can speed up your Excelexport by switching of the Screenupdate and the Calculation in Excel.
You can do this by the VBA in Excel. Open your Excel template and press ALT+F11. Choose your Workbook and Open in then two dropdownboxes above the code window (see picture attached) and add the following code.

Private Sub Workbook_Open()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
End Sub

This will turn off the Screenupdating and the Calculation.
This will only speed up the export if Excel has to calculate or draw diagramms during your Export from Flexsim.
Attched is a sample Excel file with the VBA Code.
Attached Thumbnails
Click image for larger version

Name:	Excel_sample.JPG
Views:	60
Size:	170.7 KB
ID:	888  
Attached Files
File Type: zip Export_sample.zip (12.1 KB, 52 views)
__________________
kind regards Nico.
Reply With Quote
The Following 7 Users Say Thank You to Nico Zahn For This Useful Post:
Carsten Seehafer (01-06-2010), Jörg Vogel (01-06-2010), Lars-Olof Leven (01-06-2010), Martijn van Oostenbrugge (01-07-2010), RalfGruber (01-06-2010), Sebastian Hemmann (01-06-2010), Tom David (01-06-2010)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
statistics cannot export to excel or csv zhang xin Container Terminal (CT) Library 2 03-12-2010 05:01 AM
Sketchup Pro Export Settings Joshua Cole Q&A 6 08-10-2009 01:13 PM
Excel 2002 vs. Excel 2007 Nico Zahn Q&A 2 04-26-2009 11:47 PM
Visio Export to FlexSim Jon Fournier User Development 0 06-25-2008 05:29 PM
Recorder automatic export Stephanie Giovannini Q&A 3 03-19-2008 02:52 PM


All times are GMT -6. The time now is 11:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Powered by NuWiki v1.3 RC1 Copyright ©2006-2007, NuHit, LLC
Copyright 1993-2010 Flexsim Software Products, Inc.