Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default searching different files macro

I need to search for a certain asset number in the asset column in man
different excel files. If the asset number does exist it should copy
paste the whole row into a new sheet and build on that sheet . all th
excel files have the same columns but different data.

i am looking for a macro or any other way to automate this

thank yo

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default searching different files macro

Turn on the macro recorder and do an advanced filter on your data, selecting
the option to copy to another location.

Pick a location on the same sheet for simplicity.

Now turn off the macro recorder and look at the code. You can modify the
destination to be another sheet or another sheet in another workbook if you
want.

You can change the area to be filtered by using CurrentRegion as an example.

--
Regards,
Tom Ogilvy


"fullymooned " wrote in message
...
I need to search for a certain asset number in the asset column in many
different excel files. If the asset number does exist it should copy,
paste the whole row into a new sheet and build on that sheet . all the
excel files have the same columns but different data.

i am looking for a macro or any other way to automate this

thank you


---
Message posted from http://www.ExcelForum.com/



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
Searching Files Gator Excel Discussion (Misc queries) 0 August 11th 08 03:04 PM
Searching large excel files mthakershi Excel Discussion (Misc queries) 1 June 13th 07 06:31 PM
Searching Macro Dallas Green Excel Discussion (Misc queries) 3 May 13th 05 02:36 PM
Excel quits responding searching for files not in my documents briancchf Excel Discussion (Misc queries) 0 January 26th 05 06:13 PM
Column searching using macro or VB Richard Ruda Excel Programming 2 September 23rd 03 05:02 AM


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

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

About Us

"It's about Microsoft Excel"