![]() |
|
#5
|
|||
|
|||
|
Quote:
The While loop is looking for the length of values in the cells of column A and there are no values in column A. Even the check boxes aren't actually in the cells, they are on the cells. The "TRUE" being looked for in column K doesn't exist. While this isn't an error for Excel, it is for the way you're wanting to use it. The use of the quote marks around true makes it a string and what the check boxes are putting into the cells is Boolean in the form of true and false so the quotes need removed. The select row to copy... Rows( a number here ) is an entire row, nothing additional needed. The entire row would be 16,384 cells, and you're wanting to copy 8, so the entire row is a little excessive. You can specify the range to copy ie: range("B" & the row & ":I" & the row).Copy and where to paste it, which need only be one cell ie: range("A" & the row) all on one line with no selects or pastes. If you're looking for someone to fix this for you or suggest some other way, then that's what you need to ask. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macro to check dropdown value and increment a counter | rkferguson | Word VBA | 8 | 01-07-2015 11:08 PM |
Tying a check box to a macro/VBA to customize a document
|
mhblake | Word VBA | 3 | 12-04-2013 04:17 PM |
Macro for check box in word
|
Jeannie Cornia | Word | 3 | 01-21-2013 06:00 AM |
| Check box macro help needed | Aflac | Word | 4 | 03-24-2012 07:11 PM |
Check Box Macro
|
Johnny thunder | Word VBA | 12 | 04-07-2011 04:47 PM |