|
- Charts - Formula - Printing
|
Making an exact copy of a range of formulasAssume that A1:D10 on Sheet1 has a range of cells that contain formulas. Furthermore, assume that you want to make an exact copy of these formulas, beginning in cell A11 on Sheet1. By "exact," we mean a perfect replica -- the original cell references should not change. If the formulas contain only absolute cell references, it's a piece of cake. Just use the standard copy/paste commands. But if the formulas contain relative or mixed references, the standard copy/paste technique won't work because the relative and mixed references will be adjusted when the range is pasted. If you're a VBA programmer, you can simply execute the following code: With Sheets("Sheet1")
.Range("A11:D20").Formula = .Range("A1:D10").Formula
End With
Here's a procedure to accomplish this task without using VBA. (contributed by Bob Umlas):
Note: This sounds more complicated than it actually is.
|