|

How To Export Hysys Case To Ms Excel
#1
Posted 02 March 2008 - 02:30 AM
I want to know how export a Hysys Case (.hsc file) to MS Excel File (.xls). Does it require the knowledge of the Visual Basic. I would thankful if someone gives the guideline regarding the problem.
Thanks in advance for your replies.
#2
Posted 02 March 2008 - 09:07 AM
What exactly do you need to export from Hysys file to MS Excel? Unit operation, flowsheet, stream parameters and compositions, utilities, logicals etc.?
I don't know if this will serve the purpose you need, but it is a good tool anyway: "Workbook dump", a quick Excel-based procedure for exporting Hysys workbook data into Excel file (produces a copy in Excel of the data that is being displayed in the current HYSYS workbook). Many Hysys users are familiar with this one.
Regards,
[attachment=746:Workbook_Dump.zip]
#3
Posted 02 March 2008 - 10:00 AM
Thanks it will do for me.
#4
Posted 20 March 2008 - 11:08 AM
#5
Posted 20 March 2008 - 12:46 PM
I don't think it exists, AspenTech probably wants you to use their Simulation Workbook now, which is no longer free.
You probably have to go into the VB editor and re-reference the proper Hysys 2006 type library. If you're lucky, the functions work again, but Hysys typically changes their object model every other version, so some exports will no longer work, or give no results. Check your answers! Once you get into VBA, it is not too hard to debug the thing, but it will take some time.
Good luck!
#6
Posted 20 March 2008 - 04:44 PM
I don't think it exists, AspenTech probably wants you to use their Simulation Workbook now, which is no longer free.
You probably have to go into the VB editor and re-reference the proper Hysys 2006 type library. If you're lucky, the functions work again, but Hysys typically changes their object model every other version, so some exports will no longer work, or give no results. Check your answers! Once you get into VBA, it is not too hard to debug the thing, but it will take some time.
Good luck!
Providing export utility in HYSYS would contradict with ASPEN workbook business direction.
Back to fundamental, each unit, stream, etc in HYSYS are object with properties. Using VB (or other e.g. C++) code, you would possibly extracting properties from each object in HYSYS as you wish.
Not sure if Properties extraction can be blocked by HYSYS as it is still in Object Oriented platform. It works for my last activities but not sure now...
#7
Posted 21 March 2008 - 11:37 AM
It still works. I think one of the best features of Hysys is its accessibility via OLE/Automation. I don't think they'll change it soon since it gives a lot of added value to (some) customers, but they will try to plug their own solutions as much as they can.
#8
Posted 03 December 2008 - 01:06 PM
In relation to the workbook dump posts (file using workbookdump.xls), can some indicate how to get access to other workbooks which are contained within sub-flowsheets and not on the main flowsheet.
This is the line of code where the back door variable access the flowsheet.
Set fsBD = hyCase.Flowsheet
How does one modify this so that it can access any active flowsheet.
At the moment, it only extracts workbook data from the main flow sheet.
Thanks,
Petro08
#9
Posted 08 January 2009 - 10:57 AM
#10
Posted 28 March 2009 - 05:58 AM
I need to expot the data from hysis
#11
Posted 12 April 2009 - 05:29 PM
If you are registered with AspenTech, you can probably download the software, has macros connectivity to the Hysys case file.....then you can surely transfer Hysys case to excel..
Its good......
Cheers,
wamit
#12
Posted 30 May 2011 - 11:21 AM
Dear All,
I want to know how export a Hysys Case (.hsc file) to MS Excel File (.xls). Does it require the knowledge of the Visual Basic. I would thankful if someone gives the guideline regarding the problem.
Thanks in advance for your replies.
Try to use Hys link free spftware.this video indicates how to use it?
#13
Posted 15 June 2011 - 09:39 AM
I'm using Macro Visual Basic Application in Excel to send data from/to Hysys file (hsc file). I put some example how to linking between HSC file and Excel file.
Alex
#14
Posted 25 August 2011 - 01:56 AM
I was not able to download the 'workbook dump.zip' file from you rprevious post.
Please assist me with it if the file needs to be uploaded again.
Thanks,
Ragards,
Faizan.
#15
Posted 02 September 2011 - 12:45 PM
It will export the contents of the WorkBook to Excel. In V7.3 it is even better. No gimmicks. It is very simple and works very well.
Similar Topics
![]() Hysys Expander/compressor Input Using Dimensionless CurveStarted by Guest_Alfreedo_* , 21 Apr 2025 |
|
![]() |
||
Water Hammer Study: Hysys Dynamics Vs PipenetStarted by Guest_powerox29_* , 07 Apr 2025 |
|
![]() |
||
Need Help In Hysys For Production Of Vinyl AcetateStarted by Guest_christinalee12_* , 31 Mar 2025 |
|
![]() |
||
Aspen Hysys - Blowdown Utility Heat Flux MethodStarted by Guest_yuvi.ardekar1999@gmail.com_* , 27 Feb 2025 |
|
![]() |
||
![]() Api Calculation In HysysStarted by Guest_phoroogh_* , 22 Feb 2025 |
|
![]() |