Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Novice in exel macros needs help

Hi

I'm currently working on a project that consists of filing data of lecture attendance. Now what we have, is an exel chart of all the people who have attended any of the lectures, where, when, how long was the lecture and which one was it. Now what I need to do, is create a macro that will take the data from one line [Name, company, lecture, date & time, length], and create a certificate that uses the data that the particular line has.

The said list contains roughly about 100 names at this point, and I think that manual typing one by one would be a pain. So I was hoping that someone could tell me how I can get exel to repeat the project for each line, untill it finds a line that doesn't have data on it. Also, does anyone know if I can create a macro that takes data from exel, and places it into a word file in the spesific places I want it to be placed, and can it be created as a self repeating process

Thank you in advance for everyone who replys to this thread
I'd also like to apologize for my poor grammar, but I'm not a native speaker of English

- Jere
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Novice in exel macros needs help

Jere,

Try something like

Dim Rng As Range
Set Rng = Range("A1")
Do Until Rng.Value = ""
' do something with the data in Rng and that row
Set Rng = Rng(2,1)
Loop


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Jere" wrote in
message
...
Hi,

I'm currently working on a project that consists of filing data

of lecture attendance. Now what we have, is an exel chart of all
the people who have attended any of the lectures, where, when,
how long was the lecture and which one was it. Now what I need to
do, is create a macro that will take the data from one line
[Name, company, lecture, date & time, length], and create a
certificate that uses the data that the particular line has.

The said list contains roughly about 100 names at this point,

and I think that manual typing one by one would be a pain. So I
was hoping that someone could tell me how I can get exel to
repeat the project for each line, untill it finds a line that
doesn't have data on it. Also, does anyone know if I can create a
macro that takes data from exel, and places it into a word file
in the spesific places I want it to be placed, and can it be
created as a self repeating process?

Thank you in advance for everyone who replys to this thread.
I'd also like to apologize for my poor grammar, but I'm not a

native speaker of English.

- Jere



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default VS: Novice in exel macros needs help

I tried that, but it started to loop the same process over and over again never stopping.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default VS: Novice in exel macros needs help

This is what I have going on right now

Range("A2").Selec
Do Until IsEmpty(ActiveCell
Selection.Cop
Sheets("pt2").Selec
Range("A1").Selec
ActiveSheet.Past
ActiveCell.Offset(1, 0).Selec
Sheets("pt1").Selec
ActiveCell.Offset(1, 0).Selec
Loo
End Su

The problem is that I think that the activecell.offset(1, 0).select that changes the selections place in sheet pt1 replaces the selection is sheet pt2. I need to know how I can get it paste the next value copied from pt1 to be pasted under the first value on pt2. If I get that working, I can proceed easily.
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default VS: Novice in exel macros needs help

never mind, I got it working. Stupid old me.
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
IF Statements - Novice Joe Excel Worksheet Functions 4 June 26th 08 01:08 PM
Charting help for a novice? Dave Jones Charts and Charting in Excel 3 February 26th 07 04:32 PM
how do I convert a non exel tabulation to exel dte123 New Users to Excel 2 June 30th 06 02:31 AM
Novice needs help. aphwood Excel Discussion (Misc queries) 1 October 4th 05 07:56 PM
Novice Needs Help with Formulas Donna123 Excel Worksheet Functions 1 September 4th 05 03:40 PM


All times are GMT +1. The time now is 11:12 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"