dantheman9
Board Regular
- Joined
- Feb 5, 2011
- Messages
- 175
Hi i have the following code (below);
I think the cell selection is the issue, but don't know how else to select it?
Code:
x = 2
Set Rrange = Range(Cells(3, x), Cells(3, x + (k - 1)))
b = numbers
Do Until b = 0
Rrange.Copy
Sheets("TEMPS1").Activate
Range("B65536").End(xlUp).Offset(1, 0).PasteSpecial Paste:=xlPasteAll
' testering
Sheets("TEMPS").Activate
[COLOR=red]Cells(1, k).End(xlRight).Select
[/COLOR]vf = ActiveCell.Column
x = x + k
k = vf
Sheets("TEMPS").Activate
Set Rrange = Range(Cells(3, x), Cells(3, x + (k - 1)))
b = b - 1
Loop
I think the cell selection is the issue, but don't know how else to select it?