vba

Forum home » Delegate support and help forum » Microsoft Excel Training and help » VBA

VBA

resolvedResolved · Low Priority · Version 2010

Akinbote has attended:
Excel Forecasting and Data Analysis course

VBA

how to create .exe programs using VBA.
a list of programs that VBA can be linked with (particularly NX Advanced simulation and ANSYS)

RE: VBA

Hi Akinbote,

Thank you for the forum question.

It is not possible to give you a list of programs that VBA can be linked, because the list is not existing.

If you look at the link below, you will find a very good explanation, how to link programs. The reference to the program it must be declared as an object:

Dim prAnsys as object

A better solution is to reference the program library in the visual basic editor on the TOOLS menu.

If you Google Excel VBA Ansys you will find different examples working with Ansys from VBA.

I couldn't find much about NX Advanced simulation from VBA but it can be done.

http://stackoverflow.com/questions/12374592/using-vba-to-control-another-program-entirely



Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Thu 5 May 2016: Automatically marked as resolved.


 

Excel tip:

Calculate age or service

The DATEDIF() function in Excel calculates the number of days, months, or years between two dates. So, this function makes it easy to calculate a person's age. To try this tip:

In a blank worksheet, type the birth date in cell A1, using slashes to separate day, month, and year.
In cell A2, type =DATEDIF(A1,TODAY(),"y") and press ENTER.

View all Excel hints and tips


Server loaded in 0.06 secs.