Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Alternative iterative solvers
- Using LINEST for non-linear curve fitting
- Weighted Least Squares Regression, using Excel, VBA, Alglib and Python
- Latex Maths Text in Excel
- Automating chart scale limits - update
- 3D Frames, axes and stiffness matrices
- Using Linest for non-linear curve fitting, examples, hints and warnings
- Taming Symbols in Excel
- The Conjugate Beam Method
- Drawing in Excel 5 - Shape List
Recent Comments
Category Archives: Arrays
Section Properties UDF and UDF charting
The technique for calculating section properties from coordinates is conveniently coded into a UDF: Function Area(xy_range As Variant) As Double Dim XYcells As Variant Dim N As Long, NumX As Long Dim XD As Double, YSum As Double XYcells = … Continue reading
Posted in Arrays, Charts, Excel, UDFs
Tagged Section Properties; Area; First Moment of Area; Second
6 Comments
Ranges and Arrays – 2
Yesterday we looked at how to get data from a worksheet range into a VBA array. Today’s post looks at the opposite operation; writing an array to a worksheet range. With a UDF it couldn’t be simpler: Function MyFunction() as … Continue reading
Ranges and Arrays
Transferring data from a worksheet into a VBA routine, or the other way round, is one of the most frequent tasks carried out in VBA programming. Fortunately there is a simple way to do it: In a subroutine: Name the … Continue reading