Hi
There is no doubt an exceedingly simple answer to this question however using VBA script to perform basic mathematical calculations is not something I am familiar with.
In the past I have used VBA script to change column with size based on cell values as per follows:
Now I wish to change row size in a similar fashion only the criteria will be a maths function rather than a string in a single cell. The maths function will simply be a sum of cells in a row. I will need to test whether or not the row ads up to a number greater than zero.![]()
Please Login or Register to view this content.
To illustrate what I am trying to achieve I have (poorly) written out a rough attempt at the code below:
I am unsure how the syntax works for this, I considered defining the range as a string first so I could test the value of a single variable (by defined name) rather than directly referencing the row of cells in the formula. As this code needs to be repeated many time for many rows the simplest solution would be b![]()
Please Login or Register to view this content.
An assistance greatly appreciated.
Michael.
Bookmarks