Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Specifying Row to Copy Across ?
Hi,
Im wondering how to specify a row in a different workbook, using a number in cell A1, to copy using VBA? Something like?...: Sheets("Sheet1").Select n = (Range("A1").Value) Workbooks.Open Filename:= _"C:\Book2.xls" Rows(Cells(n, n).Value).Copy Windows("Book1.xls").Activate Sheets("Sheet2").Select Rows("1:1").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy and paste versus copy and insert copied cells | New Users to Excel | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
copy formulas from a contiguous range to a safe place and copy them back later | Excel Programming | |||
EXCEL FILE a copy/a copy/a copy ....filename | New Users to Excel | |||
Code to copy range vs Copy Entire Worksheet - can't figure it out | Excel Programming |