LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,117
Default script to send data from worksheet to multiple workbooks

yes, you can do this.
to make it easier i would handle it this way.....

in worksheet, student's name is:
Smith, Robert

individual workbook for that student would be named
Smith_personalgrades.xls

then you can have a macro in the main workbook go down each row of the
column that contains the student's names, extract the last name (all
text before the comma) & call that variable sStudentName. have
"_personalgrades.xls" saved as a variable. open workbook
"sStudentName" & "_personalgrades.xls".
copy & paste appropriate range info (that row & columns a-c, for
instance).
save & close student workbook.
go on to next student.

obviously this will take a lot of coding, but when you're done, it
will work very quickly & do it all at once.
i do something similar for my boss only the other way around with
individual workbooks to the master workbook.
hope this gets you started in the right direction!
susan




On Apr 20, 6:29 am, Greg wrote:
Hi. Can anybody offer me some words of wisdom on how to approach the
following...

I want to create a data entry worksheet that links to multiple
workbooks. To be more specific, the data entry worksheet is a school
class mark book with perhaps up to 30 students listed with their
grades entered into the relevent columns.

I then would like to send each row of information (student name and
grades) into the individual workbook for that student. The individual
workbook contains worksheets for a student for all year levels that
they are in over a 5 year period. The individual workbook is
basically a profile where all the grades are crunched to provide a
level of achievement.

The individual workbook that crunches the numbers works beautifully.
I am just trying to simplify data entry by developing a "mark book"
where the data is then placed into each workbook. It is a drama to
open each student workbook individually and enter data. Any
suggestions??

Greg



 
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
vba to send multiple workbooks to different address jamesc Excel Discussion (Misc queries) 9 January 19th 10 02:07 AM
getting data from excel worksheet in to a script nuti Excel Programming 0 January 12th 06 09:11 AM
getting data from excel worksheet in to a script nuti Excel Discussion (Misc queries) 0 January 12th 06 08:48 AM
Send Mail Script Help JBL Excel Programming 5 June 22nd 05 10:06 AM
Script to send jenelle Excel Programming 1 January 7th 05 05:11 PM


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