Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Friday, December 13, 2013 12:50:55 AM UTC-8, Claus Busch wrote:
Hi Howard, Am Fri, 13 Dec 2013 00:44:51 -0800 (PST) schrieb Howard: And using "Find" instead of the ole' For Each c In is something I need to work on also. Find is much faster than looping through the range. You have to check the values in the columns. In your post you copied Offset(, -5) two times, one time to column A and one time to B: c.Offset(, -5).Copy Sheets("Find Cables").Range("A" & Rows.Count).End(xlUp)(2).PasteSpecial Paste:=xlPasteValues c.Offset(, -5).Copy Sheets("Find Cables").Range("B" & Rows.Count).End(xlUp)(2).PasteSpecial Paste:=xlPasteValues I don't know if changing is correct. Regards Claus B. -- Yes, I had some typos in the code, although it worked okay the test data was just that, test data, but the code was working. I cleaned that up on your code suggestion and it works very smooth. Thanks again. Howard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MsgBox "Choose one ", vbYesNoCancel, " Three Options. " | Excel Programming | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
How to replace "#N/A" w "0"when vlookup couldn't find the match? | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |