×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

From Mathcad to Microsoft Excel

From Mathcad to Microsoft Excel

From Mathcad to Microsoft Excel

(OP)
Is there a way to import data (calculation results) from Mathcad into MS Excel? Please list the steps involved.

Please note: I am asking about getting information *into* Excel *from* Mathcad and not the other way around.  

RE: From Mathcad to Microsoft Excel

There's supposed to be an Mathcad add-in for Excel.

Other than that, you can write out a data file that's read in by Excel, I suppose.

TTFN

FAQ731-376: Eng-Tips.com Forum Policies

RE: From Mathcad to Microsoft Excel

Choose Component from the Insert Menu.  Select Microsoft Excel from the list.  Then select "Create an empty Excel Worksheet".  In the Excel Setup Wizard, enter the number of variables you want to transfer to Excel.  In the table below, enter the cells the data will transfer to.  You can change the number of transfers and the call addresses later.  If you don't need to transfer data back to Mathcad, you may select 0 Outputs.

You'll want to strip the data of any units before the transfer.  Also, if you have a lot of data, it is possible to transfer it as an an array of data.

RE: From Mathcad to Microsoft Excel

You can also copy/paste, with one small quirk.

assuming you have a matrix called test, type

test =
highlight the rows/columns you want to copy
right click, and select "copy selection" (DON'T select "copy")
paste into excel normally.

Peter
 

RE: From Mathcad to Microsoft Excel

For one-off copies, Peter's solution is easiest.  Make sure that you format the results with enough decimals and a high enough exponential limit.  What gets copied is what is displayed, not the underlying number.

Also, Ctrl-C does the same thing as Copy Selection.

You have to format matrix results as a table to select rows/columns instead of the whole matrix.
 

RE: From Mathcad to Microsoft Excel

There is also a collab thread about pushing a value into a particular excel sheet cell. This can be used to drive external sheets that you are not allowed to modify.

I think Tom gutman wrote/documented it. It used a short VBscript function.

Philip

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close