![]() |
|
|
|
#1
|
||||
|
||||
|
You must always indicate the sheet you intend to work on.
This instruction, does NOT select the range as you think, because it reads the active sheet which is not TCU but is Sheet1. Code:
For Each c In Range("F15:F" & Cells(Rows.Count, 6).End(xlUp).Row)
Code:
For Each c In ws.Range("F15:F" & Cells(ws.Rows.Count, 6).End(xlUp).Row)
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cut/copy and paste won't paste | DennisWG | Word | 1 | 03-13-2020 12:36 PM |
| VBA copy/paste | Urraco | Excel Programming | 3 | 05-14-2018 03:59 AM |
When I copy&paste a second copy appears that can't be edited
|
makeo22 | Word | 3 | 04-26-2017 07:09 PM |
Copy n Paste
|
seimeinokigen | Excel | 2 | 04-16-2016 09:31 AM |
Paste Special: Copy and Paste Formatting Only?
|
tinfanide | Word | 6 | 03-06-2013 12:21 AM |