largeselection
Active Member
- Joined
- Aug 4, 2008
- Messages
- 358
Finally got all the bits and pieces working together (in I'm sure the dirtiest way), but it seemed to be doing what I wanted, then when I tried to expand it...fail.
Rundown: I have a workbook where I select checkboxes (cells) on the first tab, and then a macro copies the corresponding column from a data sheet and pastes it onto a report sheet.
It uses a LOT of these:
If Not IsEmpty(Range("M51")) Then
Builder "COLUMN A"
End If
If Not IsEmpty(Range("N51")) Then
Builder "COLUMN B"
End If
.
.
.
ETC
Where Builder is the macro that says search for the header "COLUMN A" in the Data sheet and copy it to the Report sheet.
I guess I have too many of those "If Not IsEmpty" sets (since I have 1000 or so "checkboxes" and each one refers to a specific column of data.
Any Suggestions? I thought I was so close to having this done
Rundown: I have a workbook where I select checkboxes (cells) on the first tab, and then a macro copies the corresponding column from a data sheet and pastes it onto a report sheet.
It uses a LOT of these:
If Not IsEmpty(Range("M51")) Then
Builder "COLUMN A"
End If
If Not IsEmpty(Range("N51")) Then
Builder "COLUMN B"
End If
.
.
.
ETC
Where Builder is the macro that says search for the header "COLUMN A" in the Data sheet and copy it to the Report sheet.
I guess I have too many of those "If Not IsEmpty" sets (since I have 1000 or so "checkboxes" and each one refers to a specific column of data.
Any Suggestions? I thought I was so close to having this done
