OrochiNoob
New Member
- Joined
- May 8, 2019
- Messages
- 20
Hello awesome ppl
Hey I have an issue with my vba code that WORKS only on the 1st 5 rows, but fails when I go to low
This works
This DOES NOT
For some reason when I do a range at D13:AJ17 it fails to either count or do the range
I have 8 Ranges that need to be copy pasted after a Query to fetch the data
Thank you for your time !!
Orochi
Hey I have an issue with my vba code that WORKS only on the 1st 5 rows, but fails when I go to low
This works
Code:
Sub Part_2()
Worksheets("Raw Data").Select
[B]Range("AL3:AL7").Select[/B]
Selection.Copy
[B]Range("D3:AJ3" & Columns.Count).End(xlToRight).Select[/B]
ActiveCell.Offset(0, 1).Select
Selection.PasteSpecial Paste:=xlPasteValues
End Sub
This DOES NOT
Code:
Worksheets("Raw Data").Select
[B]Range("AL13:A17").Select[/B]
Selection.Copy
[B]Range("D13:AJ13" & Columns.Count).End(xlToRight).Select[/B]
ActiveCell.Offset(0, 1).Select
Selection.PasteSpecial Paste:=xlPasteValues
For some reason when I do a range at D13:AJ17 it fails to either count or do the range
I have 8 Ranges that need to be copy pasted after a Query to fetch the data
Thank you for your time !!
Orochi