Automate copy and paste
Closed
eleven_607
Posts
2
Registration date
Tuesday February 28, 2012
Status
Member
Last seen
February 28, 2012
-
Feb 28, 2012 at 02:57 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Mar 25, 2012 at 08:43 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Mar 25, 2012 at 08:43 AM
Related:
- Automate copy and paste
- Copy and paste fonts - Guide
- How to paste photo in resume - Guide
- Pi copy and paste - Guide
- E with accent copy paste - Guide
- Insert a new sheet at the end of the tab names and paste the range names starting in cell a1. autofit columns a:b and name the worksheet as range names. ✓ - Excel Forum
2 responses
eleven_607
Posts
2
Registration date
Tuesday February 28, 2012
Status
Member
Last seen
February 28, 2012
Feb 28, 2012 at 06:20 AM
Feb 28, 2012 at 06:20 AM
Sub Convert_USD()
Sheets("QA raw").Activate
Range("A2:B2").Select
Application.CutCopyMode = False
Selection.Copy
'I get lost starting here, as I cannot select the needed range, range should be selected until...
lMaxRows = Cells(Rows.Count, "C").End(xlUp).Row
Range("C" & lMaxRows + -1).Select
Selection.Offset(1, -2).Select
.... from A3:B3 and then paste special formulas'
Selection.pastespecial paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Calculate
End Sub
Please help.
Thanks a lot in advance.
Sheets("QA raw").Activate
Range("A2:B2").Select
Application.CutCopyMode = False
Selection.Copy
'I get lost starting here, as I cannot select the needed range, range should be selected until...
lMaxRows = Cells(Rows.Count, "C").End(xlUp).Row
Range("C" & lMaxRows + -1).Select
Selection.Offset(1, -2).Select
.... from A3:B3 and then paste special formulas'
Selection.pastespecial paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Calculate
End Sub
Please help.
Thanks a lot in advance.
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Mar 25, 2012 at 08:43 AM
Mar 25, 2012 at 08:43 AM
Are you saying you have two formulas, one one A2 and one on B2 and you would like to copy the same formula down in column A and Column B for all available rows?