I am having problems altering the values of cells in a range that has been passed to a macro.
In "Writing excel macros" a code fragment used for this purpose is:
rng.Columns(1).Cells(1,1).Value = 1
but for me it simply gives a #Value error.
Any ideas what I am doing wrong?
Ben
In "Writing excel macros" a code fragment used for this purpose is:
rng.Columns(1).Cells(1,1).Value = 1
but for me it simply gives a #Value error.
Any ideas what I am doing wrong?
Ben