VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Build 3D chart in Excel from 3D array

Oliver French  (1 Submission)   Microsoft Office Apps/VBA   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

This function takes a three dimensional array of data with four parameters to track trends as they vary along two variables, opens a new instance of Excel, enters the data in three Excel worksheets, then creates charts of one of the data sets. One chart is a three dimensional surface type. In this case, it was desired to show the Q of an inductive winding at differing frequencies and with a metal target at varying distances from the winding.

Inputs
A three dimensional array. In this case, the first dimension is set as [Distance],[Frequency],[Q],[Inductance],and [dQ/dResistance]. The distance parameter varies along the second dimension, and the frequency parameter varies along the third dimension.

Returns
The function does not return any values - error checking should be added to return a boolean indicating if any errors occurred.

Rate Build 3D chart in Excel from 3D array (14(14 Vote))
Build 3D chart in Excel from 3D array.bas

Build 3D chart in Excel from 3D array Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters