CFD Online Discussion Forums

CFD Online Discussion Forums (
-   STAR-CCM+ (
-   -   Reading MS Excel Data in STAR-CCM+ using a Macro (

BrenS May 18, 2010 17:07

Reading MS Excel Data in STAR-CCM+ using a Macro
Hello All,

I currently have a spreadsheet that automatically generates the size and position of several volume shapes that will be used for several CFD studies. Rather than add every volume shape manually, I would like to create a macro in STAR-CCM+ that reads the data from MS Excel and then automatically creates my volume shapes. I am confident I can figure out how to write the macro to create the volume shapes on my own; however, I can't seem to find out what the command is (if one exists) for reading an Excel file. For those of you who have used Matlab, I am looking for the STAR-CCM+ equivalent to the "xlsread()" command. If this is possible in STAR-CCM+ please let me know.


Brendan S

Paulh May 20, 2010 14:38

JAVA api for interfacing with OpenOffice & MicroSoft Office products

All times are GMT -4. The time now is 02:32.