Member Panel


Sponsors and Ads

Live Tag Cloud

PC Forum PC Help Forum » Software » Office Software » [Answered] Excel macros

Office Software - [Answered] Excel macros posted in the Software forums; Hello i would like to know if it's possible to create a certain type of macro in excel,but I have very little experience so far so i don't know even ...

JOIN US NOW to remove these Ads

pc help forum number one in the search engines
Post New Thread  Reply
  #1  
Old 05-16-2007
KDel's Avatar
Bronze Member
 
Join Date: May 2007
Posts: 3
KDel - See this Members User comments on their Profile page
Default [Answered] Excel macros

Hello

i would like to know if it's possible to create a certain type of macro in excel,but
I have very little experience so far so i don't know even if it's possible.

I want to automate the following process:

-read a sequence of numbers in a worksheet (all in the same column)
-the go in another spreedsheet, search for these numbers (also in 1 column) and copy the contents of the cells that are in the same line with the numbers
-paste the numbers and the contents of the cells in another spreadsheet

is it possible?

thanks


  #2  
Old 05-16-2007
madmonkey's Avatar
Site Manager
My PC
 
Join Date: Oct 2006
Location: South Wales
Posts: 5,432
PC Experience: PC Basket Ball Head!
madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page
Default

Hi KDel,

Welcome to PCHF.

It is actually, possible to do absolutely anything you want in a Macro. More complex Macro's require some experience in writting in Visual Basic. But more simple Macro's like this, that only really require you to copy from one spreadsheet, and paste in another?

If so, all you need to do in this case, is start your Macro to record. Highlight the fields you want to copy, and go to Edit, Copy. Open up the second spreadsheet, and select the row/column you wish to paste and go to Edit, Paste. Finally close the second spreadsheet, and then end your macro. It's that simple!


__________________

Free Links: Hit Counter.. - ..Form Mail.. - ..Games.. - ..Smiley's.. - ..Psychometrics Online.. - ..myFavorites Homepage
Submit your URL or Blog to: cyberJuice USA / UK online shopping links and blogs.
  #3  
Old 05-17-2007
KDel's Avatar
Bronze Member
 
Join Date: May 2007
Posts: 3
KDel - See this Members User comments on their Profile page
Default

Hello again tha thanx for the reply

actually what i want is a bit more complex. Because i want the copied fields to become search strings in another spreadsheet.

So,

i have a spreadsheet with some codes
i want to copy these codes and search for them one after another in a huge spreadsheet which has all the available codes
and then copy the lines which contain my codes,again one after another , along with their description which is in the cells next to the codes.

so the hard part for me now how to automate the whole process for a number of say 20-30 codes

thanks for your help



Last edited by KDel; 05-17-2007 at 07:32 AM.
  #4  
Old 05-17-2007
madmonkey's Avatar
Site Manager
My PC
 
Join Date: Oct 2006
Location: South Wales
Posts: 5,432
PC Experience: PC Basket Ball Head!
madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page
Default

Hi KDel,

In that case, you would be better to look for a programmer in Visual Basic to do this work for you. Guru.com - The world's largest online marketplace for freelance talent. or Kasamba – Expert Advice, Live. is a good place to look for one, if there is nothing local.

EDIT: Marked as answered.


__________________

Free Links: Hit Counter.. - ..Form Mail.. - ..Games.. - ..Smiley's.. - ..Psychometrics Online.. - ..myFavorites Homepage
Submit your URL or Blog to: cyberJuice USA / UK online shopping links and blogs.

Last edited by madmonkey; 05-24-2007 at 06:36 PM.

Reply
New! Norton Internet Security 2008 – Download Now Click Here

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


All times are GMT +1. The time now is 02:36 AM.
Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC7
All Graphics & Content Copyright © 2004-2008 - PC Help Forum.com


Back to Top