ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copying a row marked with a checkbox Please HELP (https://www.excelbanter.com/excel-programming/374706-copying-row-marked-checkbox-please-help.html)

eighthman11

copying a row marked with a checkbox Please HELP
 
Hi everyone. I don't usually deal too much in excel so please excuse
the lack of knowledge. I have a spreadsheet with a fixed number of
columns and a variable for the number of rows. I have added a checkbox
to each row. The check boxes are in column "A"

All I want to do is --- to loop thru each row and If there is a value
in column "B" and the CheckBox in column "A" is true, I want to copy
that entire row from sheet1 to sheet2. If column "B" has no value
(null) then drop out of the loop. I would suppose for someone who
knows their way around excel and VB this doesn't seem very difficult
but I do not have a clue.

Any help would be appreciated.


ducky

copying a row marked with a checkbox Please HELP
 


On Oct 9, 1:54 pm, "eighthman11" wrote:
Hi everyone. I don't usually deal too much in excel so please excuse
the lack of knowledge. I have a spreadsheet with a fixed number of
columns and a variable for the number of rows. I have added a checkbox
to each row. The check boxes are in column "A"

All I want to do is --- to loop thru each row and If there is a value
in column "B" and the CheckBox in column "A" is true, I want to copy
that entire row from sheet1 to sheet2. If column "B" has no value
(null) then drop out of the loop. I would suppose for someone who
knows their way around excel and VB this doesn't seem very difficult
but I do not have a clue.

Any help would be appreciated.


This shouldn't be a terribly difficult task. Before we dive into it
though, may i ask why you are using the check boxes?

AR


eighthman11

copying a row marked with a checkbox Please HELP
 
The spreadsheet has about 3500 rows of data. It gets the data from an
import. Occassionaly the person using the
spreadsheet needs to isolate some of the records to print or to email
to someone. Thought the checkboxes would be an
easy way to earmark those records.


On Oct 9, 3:30 pm, "ducky" wrote:
On Oct 9, 1:54 pm, "eighthman11" wrote:

Hi everyone. I don't usually deal too much in excel so please excuse
the lack of knowledge. I have a spreadsheet with a fixed number of
columns and a variable for the number of rows. I have added a checkbox
to each row. The check boxes are in column "A"


All I want to do is --- to loop thru each row and If there is a value
in column "B" and the CheckBox in column "A" is true, I want to copy
that entire row from sheet1 to sheet2. If column "B" has no value
(null) then drop out of the loop. I would suppose for someone who
knows their way around excel and VB this doesn't seem very difficult
but I do not have a clue.


Any help would be appreciated.This shouldn't be a terribly difficult task. Before we dive into it

though, may i ask why you are using the check boxes?

AR




All times are GMT +1. The time now is 08:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com