i have a range of cells which is nxn where n>1. i want to place a header 2 rows above this range which is aligned on the left. this is what i tried:
but this prints out an nxn matrix where all the values are "YOUR MATRIX". how can i select just the anchor cell of "givenMatrix" and move 2 rows above that to place the header?Range("givenMatrix").Offset(-2, 0).Value = "YOUR MATRIX"
thanks for any help.
Last edited by justin111; 05-04-2009 at 08:17 PM.
TryRange("givenMatrix").Offset(-2, 0)(1).Value = "YOUR MATRIX"
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
Please mark this thread as solved, and start a new thread for your unrelated question.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks