ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro needed to pull data from one worksheet and enter it in anoth (https://www.excelbanter.com/excel-discussion-misc-queries/210631-macro-needed-pull-data-one-worksheet-enter-anoth.html)

bigproblem

Macro needed to pull data from one worksheet and enter it in anoth
 
if a checkbox is selected how can i move data from one worksheet (1) into to
another worksheet (2).

if b9 is checked (or any checkbox in column b). i want to copy the data in
that row to sheet2.

is there a macro that i can use?

--
problem

Dave Peterson

Macro needed to pull data from one worksheet and enter it in anoth
 
Are you going to put a checkbox on every row you want copied?

If you are, then how about an alternative?

Add an extra indicator column (new column A???) to your data.
Put an X in that column if you want to copy the row.
Then apply data|filter|autofilter to that column.
Show the rows with X's
Copy the visible rows and paste to the new worksheet.
===
Select the range to copy
in xl2007, hit F5|Special|visible cells only
Edit|copy
then off to the new sheet and Edit|paste

If you really need a macro, you can record one when you do it manually.

bigproblem wrote:

if a checkbox is selected how can i move data from one worksheet (1) into to
another worksheet (2).

if b9 is checked (or any checkbox in column b). i want to copy the data in
that row to sheet2.

is there a macro that i can use?

--
problem


--

Dave Peterson

bigproblem

Macro needed to pull data from one worksheet and enter it in a
 
all rows will have the checkbox but they may or may not be checked.

are you saying record a macro using the autofilter?


--
problem


"Dave Peterson" wrote:

Are you going to put a checkbox on every row you want copied?

If you are, then how about an alternative?

Add an extra indicator column (new column A???) to your data.
Put an X in that column if you want to copy the row.
Then apply data|filter|autofilter to that column.
Show the rows with X's
Copy the visible rows and paste to the new worksheet.
===
Select the range to copy
in xl2007, hit F5|Special|visible cells only
Edit|copy
then off to the new sheet and Edit|paste

If you really need a macro, you can record one when you do it manually.

bigproblem wrote:

if a checkbox is selected how can i move data from one worksheet (1) into to
another worksheet (2).

if b9 is checked (or any checkbox in column b). i want to copy the data in
that row to sheet2.

is there a macro that i can use?

--
problem


--

Dave Peterson



All times are GMT +1. The time now is 07:40 AM.

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