Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Exporting Values into Microsoft Word Form Fields

I have a workbook with 7 sheets, one for each period of a secondary
school. On each sheet, student last names are in column A (starting
below row 12), and first names are in col. B. Fellow teachers want to
use this but be able to create progress reports for each student,
exporting the values only of the cells in these cols:

A, B, N, O, P, Q, T, AH, AI, and AJ

The headings of these 10 columns, put across row 12, would also need
to be exported.

Users want this info exported into a Word document, with 1 student on
each page. The student names, in A and B, should be put into a field
at the top of each page. The other data could be inserted as a table
near the bottom of each page. The Word doc is a form that contains
text fields and checkboxes.

How could this be coded?

A catch is that there is a blank row between each student's data in
the workbook (student across row A15, another across A17, A19, etc.)

Also, this would have to export data from each of the 7 worksheets.

Lastly, users want a macro/menu that, when clicked, would output data
for all students, and another macro that would only output data for
the student that is currently clicked on (anywhere in that student's
row).

Thanks a great deal for any help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Exporting Values into Microsoft Word Form Fields

I think this is what you're looking for:
http://word.mvps.org/FAQs/InterDev/C...WordFromXL.htm

I use this code all the time; works great!!

Regards,
Ryan--

--
RyGuy


"Arnold" wrote:

I have a workbook with 7 sheets, one for each period of a secondary
school. On each sheet, student last names are in column A (starting
below row 12), and first names are in col. B. Fellow teachers want to
use this but be able to create progress reports for each student,
exporting the values only of the cells in these cols:

A, B, N, O, P, Q, T, AH, AI, and AJ

The headings of these 10 columns, put across row 12, would also need
to be exported.

Users want this info exported into a Word document, with 1 student on
each page. The student names, in A and B, should be put into a field
at the top of each page. The other data could be inserted as a table
near the bottom of each page. The Word doc is a form that contains
text fields and checkboxes.

How could this be coded?

A catch is that there is a blank row between each student's data in
the workbook (student across row A15, another across A17, A19, etc.)

Also, this would have to export data from each of the 7 worksheets.

Lastly, users want a macro/menu that, when clicked, would output data
for all students, and another macro that would only output data for
the student that is currently clicked on (anywhere in that student's
row).

Thanks a great deal for any help.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Exporting Values into Microsoft Word Form Fields

Thanks RyGuy
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
Copy data from Microsoft Word form into Excel Amanda Excel Programming 1 January 17th 08 07:56 PM
Excel to input fields into a Word Form ArmsteR Excel Worksheet Functions 1 August 3rd 07 09:16 AM
Put form fields in Word forms into an Excel spreadsheet? AMG Excel Discussion (Misc queries) 4 May 15th 06 06:18 AM
can we link fields from a form in word document to excel Sunil Excel Discussion (Misc queries) 0 February 6th 06 09:26 PM


All times are GMT +1. The time now is 10:09 PM.

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"