Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy a specific of data of texts containing "IT"


i have 2 files, Information.xls & 822.xls,
i need to copy the specific set of data under the row that contain the
texts "IT" in 822.xls, it will first search for all the columns or
rows that contain any texts with "IT", example "IT1122", "IT2312"
after finding the rows with the text "IT" it will then copy the all
data under "Facility" and "Remarks" of the row of "IT" and
copy the data into another file called Information with the same texts
containing "IT" under the same row that has the texts "Facility" and
"Remarks". it has to match, as in, when it copy the data from the text
"IT1122" from 822.xls and it will paste onto "IT1122" in
Information.xls.

this seems impossible, i tried my best but i still can't get it
done..it's too complicated and too many matching of data has to be done
in the function..
need advise!


--
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=509622

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy a specific of data of texts containing "IT"


need advise!!!


--
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=509622

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy a specific of data of texts containing "IT"


Mod--------Descrip------------------------------Facility----Time-----Day
IT1122-----Object Oriented Programming----------LTQ-9-----9.00am--Wed

IT2233-----Excel
Programming--------------------LTQ-6-----1.00pm---Tues

whereby the prgram will look for all the Mod that contains the text
"IT" and
then it will copy all the data under the Column "Facility", "Time",
"Day" which are "LTQ-9", "9.00am", "Wed" and paste into Information.xls
under the same "IT1122" under the Column "Facility", "Time", "Day"

it sounds complicated..i wonder is this possible..


--
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=509622

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Copy a specific of data of texts containing "IT"

new_to_vba,
Record a macro whilst you use the EditFind menu option.
Combine this with a Copy/Paste and "Offset" or "VLookUp".
See what you get.

NickHK

"new_to_vba" wrote
in message ...

Mod--------Descrip------------------------------Facility----Time-----Day
IT1122-----Object Oriented Programming----------LTQ-9-----9.00am--Wed

IT2233-----Excel
Programming--------------------LTQ-6-----1.00pm---Tues

whereby the prgram will look for all the Mod that contains the text
"IT" and
then it will copy all the data under the Column "Facility", "Time",
"Day" which are "LTQ-9", "9.00am", "Wed" and paste into Information.xls
under the same "IT1122" under the Column "Facility", "Time", "Day"

it sounds complicated..i wonder is this possible..


--
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=509622



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy a specific of data of texts containing "IT"


i have no idea how to do that?
able to help me?
i am really weak in this programming...:(


--
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=509622



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy a specific of data of texts containing "IT"


i have no idea how to do that?
able to help me?
i am really weak in this programming...:(


--
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=509622

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Copy a specific of data of texts containing "IT"

new_to_vba,
ToolsMacroRecord New Macro, accept the default Macro name, then perform
your actions.
Look at the code that is generated.
Whilst this is not usually the most efficient code, it will give a good
start to understand the process and learn how VBA works.

NickHK

"new_to_vba" wrote
in message ...

i have no idea how to do that?
able to help me?
i am really weak in this programming...:(


--
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=509622



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
SORT a column of Texts to follow another "EXACT" order F. Lawrence Kulchar Excel Discussion (Misc queries) 6 September 17th 08 09:14 PM
Validation ?:Accepting both Numbers AND specific letters("N","n"," Antonio Excel Discussion (Misc queries) 2 April 22nd 08 05:07 PM
copy specific rows using "IF" to another sheet Henry Excel Worksheet Functions 3 December 24th 07 03:41 AM
Backup to specific folder if workbook names begins with "NSR" or "MAC" GregR Excel Programming 3 May 6th 05 12:24 AM
Adding "New" "Insert" "Delete" into a workbook to change from data 1 to data 2 etc Bob Reynolds[_2_] Excel Programming 0 March 4th 04 08:52 PM


All times are GMT +1. The time now is 03:45 PM.

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"