J
Jules
Hi,
I am setting up a macro that allows users to add information into an
unspecified number of rows in a table. The user adds info and then is asked
if they wish to add more and this loops (addin a new row to the table) until
they no longer wish to add info.
One of the columns in the table is a figure and I want to have it
automatically total at the end. As I do not know how many rows there will be
I am unable to specify the formula. I have been able to return the number of
rows and have defined this as "NumRows", however cannot use this in the
formula - I have tried Sum(B1:BNumRows) but this does not work. Does anyone
know how I can get the result of NumRows into my formula. FYI, I cannot use
Sum(Above) as some cells may not contain any information and this would then
not work.
thanks,
I am setting up a macro that allows users to add information into an
unspecified number of rows in a table. The user adds info and then is asked
if they wish to add more and this loops (addin a new row to the table) until
they no longer wish to add info.
One of the columns in the table is a figure and I want to have it
automatically total at the end. As I do not know how many rows there will be
I am unable to specify the formula. I have been able to return the number of
rows and have defined this as "NumRows", however cannot use this in the
formula - I have tried Sum(B1:BNumRows) but this does not work. Does anyone
know how I can get the result of NumRows into my formula. FYI, I cannot use
Sum(Above) as some cells may not contain any information and this would then
not work.
thanks,