Hello to all...
I'm having problems with getting some things to work in excel...
I have a database containing information about staff information, department information, sub-department information and course information.
I need to print these information grouped by department and sub-department which i need to do in excel.
The printing format is something like this
============================================
|Name1|Name2|Name3|
|--------|--------|--------|
course1|*****|--------|--------|
course2|--------|*****|*****|
course3|*****|*****|--------|
============================================
Name1 have to go for 2 training(course1 & course3)
Name2 have to go for 2 training(Course2 & course3)
Name3 have to go for 1 training(course2)
*(Asterix) - denotes that the cell is shaded...
and the - (Dash) means that the cell is blank...
I know i need to tell the program to run through the database to get the courses that the specific staff is undergoing and then i need to search in Excel the staff name and get the location of it and then the course name, get the location... with these information i then get the column and row location to shade the appropriate cell... but i don't know how to do all this. I got the idea but i dunno the codes for it...
Anyway...i used copyfromrecordset method to get my data from the Db to excel...
Please help me with this... THanks A lot...=)
I'm in real need for this...
I'm having problems with getting some things to work in excel...
I have a database containing information about staff information, department information, sub-department information and course information.
I need to print these information grouped by department and sub-department which i need to do in excel.
The printing format is something like this
============================================
|Name1|Name2|Name3|
|--------|--------|--------|
course1|*****|--------|--------|
course2|--------|*****|*****|
course3|*****|*****|--------|
============================================
Name1 have to go for 2 training(course1 & course3)
Name2 have to go for 2 training(Course2 & course3)
Name3 have to go for 1 training(course2)
*(Asterix) - denotes that the cell is shaded...
and the - (Dash) means that the cell is blank...
I know i need to tell the program to run through the database to get the courses that the specific staff is undergoing and then i need to search in Excel the staff name and get the location of it and then the course name, get the location... with these information i then get the column and row location to shade the appropriate cell... but i don't know how to do all this. I got the idea but i dunno the codes for it...
Anyway...i used copyfromrecordset method to get my data from the Db to excel...
Please help me with this... THanks A lot...=)
I'm in real need for this...