Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default look up a set of values,copy a range of data into 2nd file


i have 2 files, Information & 822,
i need to check for all the data that contain the texts "IT" in 822,
and copy the specific range of data(such as A9,F9,J9,L9) into another
file called Information.

this seems impossible, i tried my best but i still can't get it done..


--
new_to_vba
------------------------------------------------------------------------
new_to_vba's Profile: http://www.excelforum.com/member.php...o&userid=30131
View this thread: http://www.excelforum.com/showthread...hreadid=509271

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default look up a set of values,copy a range of data into 2nd file

Assuming you have a sufficiently recent version of XL, you don't really need
any programming.

Use Edit | Find... to specify what to find. Click the 'Find All' button.
You will see a list of all cells containing the search token. Click on the
first item. SHIFT+click on the last item. XL will select all those cells in
the worksheet. Right click in any of those cells in the worksheet and select
Copy. Switch to the destination worksheet and paste.

This is one of those instances where the UI lets one do something that is
not possible through code for the simple reason at the object model doesn't
expose the 'Find All' capability.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Custom business solutions leveraging a multi-disciplinary approach


"new_to_vba" wrote:


i have 2 files, Information & 822,
i need to check for all the data that contain the texts "IT" in 822,
and copy the specific range of data(such as A9,F9,J9,L9) into another
file called Information.

this seems impossible, i tried my best but i still can't get it done..


--
new_to_vba
------------------------------------------------------------------------
new_to_vba's Profile: http://www.excelforum.com/member.php...o&userid=30131
View this thread: http://www.excelforum.com/showthread...hreadid=509271


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
Cond. Format Data Bars of range based on values of another range alexmo Excel Worksheet Functions 4 January 16th 09 04:03 AM
Copy Values to next empty cell range Aldo Cella Excel Worksheet Functions 1 March 10th 08 11:22 PM
Copy values from file A, Find/Replace these values in File B shockley Excel Programming 1 September 22nd 03 12:32 AM
copy / paste values for certain range Eric Dreshfield Excel Programming 2 September 10th 03 04:04 PM
Range COPY function - how to copy VALUES and not formulas James Cooke Excel Programming 1 August 21st 03 07:04 PM


All times are GMT +1. The time now is 08:56 AM.

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"