Search : in
By :

Help with macro to move text between sheets

Last answer on Nov 19, 2008 1:06:25 am GMT Gavin, on Nov 18, 2008 9:46:12 pm GMT 
 Report this message to moderators

Hello,

I'm trying to write a macro to help me with a repetitive task and running into some trouble. I have two sheets, setup like this -

Sheet 1

ID number | some data | some data | Text

Sheet 2 is exactly the same, only the text is in French, and it has many more entries (about 42k).

The process I'm doing by hand is to copy the ID number field, change to the other sheet, find the ID number, then copy the French text and paste it back into the next column over (column E) so you can see the English and French side by side.

I apologize as I'm very new to macro writing. I tried using the recording feature, but the issue seems to be that it always saves my recording search in the macro as a specific search string. I assume there's some way to declare and fill a variable with a field entry and then use that for search, but I can't figure it out.

If there additionally was a way to loop through every entry in sheet 1 and do this task over and over again, that would be fantastic. I would really appreciate any help! My coding skills never graduated past javascript and I'm very very rusty even with that :)

Thanks!
Gavin

Configuration: Windows XP
Internet Explorer 6.0

Best answers for « Help with macro to move text between sheets » in :
Batch Script - Move files to \%date%\%time%\ ShowBatch Script - Move files to \%date%\%time%\ Issue Solution Note Issue I have been trying to make a simple batch script to create database backups and move then into a folder named by date, and a sub folder by time. This is what I...
Transforming columns into lines ShowTransforming columns into lines Example Limitations It is endemic for most Linux tools to work with lines, but not with columns (sed, awk, grep, etc..). However, it may happens,that you have a file where the data should be read in...
Excel – Macro for copy & paste selected range ShowExcel – Macro for copy & paste selected range Issue Solution Note Issue I have a summary of data by month in one sheet and the raw data in another sheet. Instead of creating multiple worksheets for my raw data for each month, I want...
UNIX system - The shell ShowIntroduction to the shell The command interpreter is the interface between the user and the operating system, hence its name "shell". The shell therefore acts as an intermediary between the operating system and the user using command lines...
Linux - The shell ShowIntroduction to the shell The command interpreter is the interface between the user and the operating system, hence the name "shell". The shell therefore acts as an intermediary between the operating system and the user thanks to command lines...
Declaring a style sheet (CSS) ShowDeclaring a style sheet Style sheets are not directly integrated into the W3C's HTML recommendations. For this reason, you need to include elements in the HTML code indicating both the type of document, meaning the version of the HTML and CSS...

1

 rubrami281, on Nov 19, 2008 1:06:25 am GMT
Reply to rubrami281