Wednesday, January 27, 2010

Continuous Beam Analysis and Design Using OpenOffice

As mentioned in the earlier post, OpenOffice is free. My idea is to convert all my Excel spreadsheets with Macro to OpenOffice Calc programs. Remember the OpenOffice Calc is free and engineers are generally poor. If we don't have to pay for Excel, we could save quite a fair bit in our works. Well to cut it short, here it is :

This is the screenshot of the similar Excel program that now is written in OpenOffice. The conversion from Excel to OpenOffice was actually simpler than I thought. At first, there are errors. But after closer look, I realise not all the formulas can be directly converted. It was not really the problem of OpenOffice as my codes actually contain very specific way of reading some information and this cannot be directly translated to OpenOffice. After some checking, the errors were corrected and the OpenOffice program output the same results as the Excel program (as expected).
What is difficult is the macro for excel cannot be directly convert to OpenOffice macro. This is the painful part for me, as there are not many books and resources on writing Macro for OpenOffice and the process is also much more tedious than VBA. After 2 weeks of on and off writing, main part of the Macro was in shape but one crucial problem was bugging me, ie how to unload the menu after popping up. I decided to stop for a week and send the code to a friend who are familiar with OpenOffice to take a look. He is helpful but can't really give the solution. Then suddenly, I come across a website and briefly talk about the similar issue (not exactly but was along that line). I copy the idea and "hola", it solved. Now the macro works exactly like Excel program.
I am waiting for the release of OpenOffice 3.2 for testing the program further.



7 comments:

  1. Thank you for sending the openoffice calc for my testing. so far I was impressed with it. I have run 2 examples and they are accurate but your interface is just awesome. input and output was clearly meant for us as engineer. The moment i complete the input, the results is output side by side. Thank you.

    Jon Lee

    ReplyDelete
  2. pls send me a sample two storey structural analysis using spredsheet or open office

    ReplyDelete
  3. Thanks for a marvelous posting! I genuinely enjοуed reading it,
    yοu're a great author. I will ensure that I bookmark your blog and will eventually come back at some point. I want to encourage you to ultimately continue your great work, have a nice weekend!
    Review my weblog augen lasern

    ReplyDelete
  4. Wіthout the need of watering the roots оf a tree it is futile tо asѕumе it to matuгe and gіve uѕ lusciοus fruits,
    colorful flowers etсetera. At the vеry leаѕt 51 % have to be com, whilst in general up to seventy five% is choѕen.

    You coulԁ be the justifіcatiοn of obstructions in your father's achievements.

    my web site http://bootcarl85.busythumbs.com
    Also see my page: old stone oven

    ReplyDelete
  5. I eѵery time emailed thiѕ website рost pаge to
    аll my cοntасtѕ, since if liκe to read іt neхt my fгiеnds will too.


    Mу web blog ... Chemietoilette
    Also see my site: Chemietoilette

    ReplyDelete
  6. Your style is so unique compared to other folks I have read
    stuff from. Thanks for posting when you've got the opportunity, Guess I'll just book
    mark this blog.

    Here is my web page; Heidelberg Kindergeburtstag

    ReplyDelete
  7. I am so happy with this your great blog...could u email me a sample of Continuous Beam Analysis and Design using spreadsheet...Thank you very much...keep it up...GOOD JOB

    My email is divrfcl0079@gmail.com

    ReplyDelete