Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Code: Worksheets ("Master").Range ("Q:R").Copy Worksheets("Sjournal").Range ("U:V") What's the best code to copy just "Q" to "R" Thanks, Met -- Metrazal ------------------------------------------------------------------------ Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648 View this thread: http://www.excelforum.com/showthread...hreadid=515849 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Your way will work O.K. between worksheets:
Worksheets ("Master").Range ("Q:Q").Copy Worksheets("Sjournal").Range ("R:R") If all you want to do is copy within a single worksheet then: Sub asdf() Dim r1 As Range Dim r2 As Range Set r1 = Columns("Q:Q") Set r2 = Columns("R:R") r1.Copy r2 End Sub -- Gary''s Student "Metrazal" wrote: Code: Worksheets ("Master").Range ("Q:R").Copy Worksheets("Sjournal").Range ("U:V") What's the best code to copy just "Q" to "R" Thanks, Met -- Metrazal ------------------------------------------------------------------------ Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648 View this thread: http://www.excelforum.com/showthread...hreadid=515849 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I understand your question, the answer should be:
Worksheets ("Master").Range ("Q:Q").Copy Worksheets("Sjournal").Range("R:R") I have doubts: it looks too trivial HIH -- AP "Metrazal" a écrit dans le message de ... Code: Worksheets ("Master").Range ("Q:R").Copy Worksheets("Sjournal").Range ("U:V") What's the best code to copy just "Q" to "R" Thanks, Met -- Metrazal ------------------------------------------------------------------------ Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648 View this thread: http://www.excelforum.com/showthread...hreadid=515849 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options | Excel Discussion (Misc queries) | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing | Excel Discussion (Misc queries) | |||
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell | Excel Worksheet Functions | |||
I copy a formula and the results copy from the original cell | Excel Discussion (Misc queries) | |||
VBA to copy to empty cell directly below a cell when analogous cells in different column have same value as each other? | Excel Programming |