View Single Post
 
Old 02-16-2015, 08:34 AM
cc.caroline15 cc.caroline15 is offline Windows 8 Office 2013
Novice
 
Join Date: Jan 2015
Posts: 9
cc.caroline15 is on a distinguished road
Default help creating macro in word

Hello everyone I'm trying to create a macro(CreateTables) in word that when User enters Windows or MSWord or DB, each student enrolled in the respective class (Windows XP Level 1, MSWord Level 1, Database Programming – VBA) class is displayed in a separate table containing rows for ID, First, Last, Department name, Telephone and Classname. All values are placed in fields and records (tables) are sorted by last name ascending. Depicted here after DB is entered: like the one in the picture. This data will be extracted from a access file. but my code gives me the following error: Compile error: user defined type not defined. Can anyone please help me?? I have attach the word document and a picture of how the table should look in word. thank you
Attached Images
File Type: png table.PNG (51.3 KB, 44 views)
Attached Files
File Type: docm 243CCA04.docm (19.9 KB, 11 views)
Reply With Quote