I use the following code to copy and paste cells into a cell range:
I would like to paste a variable into the range instead of the data contained in cells (A9, A10, A11, etc.) but based on the number of rows containing data.Please Login or Register to view this content.
Example if cells (A9, A10, & A11) contain data & A12 is blank. My variable will be pasted into the active cells (C1,C2, & C3). It will also be able to handle a single cell of data, like the above code. Using the previous example, if data is contained only in cell A9 then my variable will be pasted in C1.
Any help would be appreciated.
Thanks,
Met
Bookmarks