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
|