Copying Formula
Sub test()
ActiveCell.Copy
ActiveCell.Offset(-1, 0).PasteSpecial
Paste:=xlPasteFormulas
End Sub
Abdul Salam
-----Original Message-----
Hi all,
Is it possible to copy a formula using a macro from a
selected cell in a range to the cell directly above it?
without having to actually code the cell reference each
time?
The range I refer to can have rows deleted and inserted
by
the user, thus the cell references will constantly
change.
Thanks for your help
Michael
.
|