S
scaryboy
Everytime I have had a problem and turned to this newsgroup, my
problems have seemed monstrous. The solutions the wizards have come up
with, always seem so simple. Hopefully someone can help me again.
i need to write a macro that will search a range of cells, and copy
the values it finds to another cell. But, if the search cell is
empty, i do not want anything copied, i need the original values in
the target cells.
in the first range of cells, i have blanks that i will physically
input data to. i need the macro to find the values i have inputted,
and copy them to another different range, but only if there is data. i
do not want it to copy a blank space to the target cells because i
need the data in those cells until i determine a value.
i know i can write a formula that will place the original formula in a
cell if some other cell is blank, and place data from a non blank cell
there is that is the case. but, my problem is the target range is not
a single cell, it's a group of 3x3 cells. so, a number i write in the
orignal input cell, needs to be recognized as non blank, and then a
group of cells 3x3 must be selected and copied over with the single
piece of data essentially merging the 3x3 cells into one cell.
can i write a macro that will do something like, "If there is data
copy, If there is no data, skip to the next cell in the range to look
for data"?
i hope i explained that clearly.
if not i apologize and will try a different way to explain my problem.
thanks in advance.
fred
problems have seemed monstrous. The solutions the wizards have come up
with, always seem so simple. Hopefully someone can help me again.
i need to write a macro that will search a range of cells, and copy
the values it finds to another cell. But, if the search cell is
empty, i do not want anything copied, i need the original values in
the target cells.
in the first range of cells, i have blanks that i will physically
input data to. i need the macro to find the values i have inputted,
and copy them to another different range, but only if there is data. i
do not want it to copy a blank space to the target cells because i
need the data in those cells until i determine a value.
i know i can write a formula that will place the original formula in a
cell if some other cell is blank, and place data from a non blank cell
there is that is the case. but, my problem is the target range is not
a single cell, it's a group of 3x3 cells. so, a number i write in the
orignal input cell, needs to be recognized as non blank, and then a
group of cells 3x3 must be selected and copied over with the single
piece of data essentially merging the 3x3 cells into one cell.
can i write a macro that will do something like, "If there is data
copy, If there is no data, skip to the next cell in the range to look
for data"?
i hope i explained that clearly.
if not i apologize and will try a different way to explain my problem.
thanks in advance.
fred