Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Programming Help - evaluate, select and Past into new workbook


I would like to create a macro that evaluates certain value in Column A
If they are equal to a certain number or text then select and past int
a new workbook.


For Example :
UNIT Organization
02 110102000003
02 110102000004
02 110102000004
02 110102000004
03 110103000001
04 110104000300
04 110104000301
04 110104000302
04 110104000303
04 110104000304
05 110105000305
05 110105000305
05 110105000305
05 110105000305

I want the macro to select all the rows that have Unit = 02 and the
paste into a new workbook.

Please Hel

--
Chewy66
-----------------------------------------------------------------------
Chewy667's Profile: http://www.excelforum.com/member.php...fo&userid=1361
View this thread: http://www.excelforum.com/showthread.php?threadid=32019

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Programming Help - evaluate, select and Past into new workbook

Use the Autofilter on the Unit column. Then select the data and copy. Only
the visible rows will be copied

Turn on the macro recorder while you do it manually and you will have your
code.

--
Regards,
Tom Ogilvy

"Chewy667" wrote in message
...

I would like to create a macro that evaluates certain value in Column A.
If they are equal to a certain number or text then select and past into
a new workbook.


For Example :
UNIT Organization
02 110102000003
02 110102000004
02 110102000004
02 110102000004
03 110103000001
04 110104000300
04 110104000301
04 110104000302
04 110104000303
04 110104000304
05 110105000305
05 110105000305
05 110105000305
05 110105000305

I want the macro to select all the rows that have Unit = 02 and then
paste into a new workbook.

Please Help


--
Chewy667
------------------------------------------------------------------------
Chewy667's Profile:

http://www.excelforum.com/member.php...o&userid=13618
View this thread: http://www.excelforum.com/showthread...hreadid=320191



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Programming Help - evaluate, select and Past into new workbook

Hi Chewy667

You can also use this Add-in if you want
http://www.rondebruin.nl/easyfilter.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Chewy667" wrote in message ...

I would like to create a macro that evaluates certain value in Column A.
If they are equal to a certain number or text then select and past into
a new workbook.


For Example :
UNIT Organization
02 110102000003
02 110102000004
02 110102000004
02 110102000004
03 110103000001
04 110104000300
04 110104000301
04 110104000302
04 110104000303
04 110104000304
05 110105000305
05 110105000305
05 110105000305
05 110105000305

I want the macro to select all the rows that have Unit = 02 and then
paste into a new workbook.

Please Help


--
Chewy667
------------------------------------------------------------------------
Chewy667's Profile: http://www.excelforum.com/member.php...o&userid=13618
View this thread: http://www.excelforum.com/showthread...hreadid=320191



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Programming Help - evaluate, select and Past into new workbook


:) Thanks ! This is going to save me lots of time

--
Chewy66
-----------------------------------------------------------------------
Chewy667's Profile: http://www.excelforum.com/member.php...fo&userid=1361
View this thread: http://www.excelforum.com/showthread.php?threadid=32019

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
programming to select rows based on condition Farhad Excel Discussion (Misc queries) 4 January 14th 10 01:18 AM
How to evaluate the size of each worksheet in a workbook? [email protected] Excel Discussion (Misc queries) 1 August 22nd 07 11:50 AM
Challenge - evaluate and select mr tom Excel Discussion (Misc queries) 8 March 2nd 07 03:21 PM
Past the total of select multi row data Qazi Ahmad Excel Discussion (Misc queries) 1 January 10th 07 02:57 PM
programming font color on select items chick-racer[_6_] Excel Programming 2 October 27th 03 07:54 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"