ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Problem with importing Excel data
Hi all,
When I was conducting training in importing Excel spreadsheet data, my client faced problem in importing. I have enclosed the error log file. They are using V4.32, XP and Microsoft office 2000. Anyone faced the same problem in working with these combination? David
__________________
Advent2 Labs David |
#2
|
||||
|
||||
David,
Somewhere along the line, Flexsim has changed from DDE to OLE with importing from Excel, and office 2000 doesn't support OLE. You can use the maintance command with parameter 1000 to get back to DDE. write something like: "maintenance(1000, 1);" before you make any calls to excel commands. that should do the trick. Steven |
The Following 2 Users Say Thank You to Steven Hamoen For This Useful Post: | ||
David Chan (08-20-2008) |
#3
|
|||
|
|||
Hi,
we have had the same problem last time. We tried to change from OLE to DDE and the other way, every time the same error like you have. Maybe v4.32 doesnt support office 2000. We adviced them to update the office version. regards Tobias |
The Following User Says Thank You to tobias.biemueller For This Useful Post: | ||
David Chan (08-20-2008) |
#4
|
|||
|
|||
Steven and Tobias, thanks for the information.
As I was using the MTEI to import the data, how and should I trigger the maintenance command? At the Script?
__________________
Advent2 Labs David |
#5
|
|||
|
|||
I believe we found that the maintenance(1000,1) trick works for Single Table and Custom Import/Export, but does not help the MTEI in this situation. I don't know of a fix for the MTEI.
Kris |
The Following 3 Users Say Thank You to Kris Geisberger For This Useful Post: | ||
RalfGruber (08-25-2008) |
#6
|
|||
|
|||
Jeff from Flexsim Support team wrote:
"In Excel 2003 and above, the way Flexsim interfaces with Excel is OLE. In Excel 2000, Excel used DDE. The maintenance(1000,1) changes from the default OLE back to DDE. If done in a script window or on a reset trigger somewhere, it should work fine with the MTEI. You only have to run the command once. Until you close Flexsim, it should still be in force." Thank you Jeff for this detailed answer.
__________________
[SIGPIC][/SIGPIC] |
Thread | Thread Starter | Forum | Replies | Last Post |
draw network nodes using data from an excel sheet | Vinay Mehendiratta | Q&A | 7 | 10-14-2014 08:40 AM |
Excel Data Import | Sung Kim | Q&A | 2 | 07-16-2010 10:41 AM |
Excel Tutorial - Need Input! | Brandon Peterson | Q&A | 4 | 03-12-2008 10:54 AM |
dbimporttable: importing date | Lolke Koopmans | Q&A | 7 | 02-22-2008 05:57 AM |
Excel and global tables | Bill Nordgren | Q&A | 2 | 10-15-2007 04:36 AM |