erwindebruin
New Member
- Joined
- Oct 25, 2005
- Messages
- 3
Hello,
I've a question: I like to have an excel sheet with in column a an activity and in column b a name of an person. Example:
activity1 name1
activity2 name2
activity3 name3
activity1 name4
Now i like to run a macro which:
*print document1 if value in column A is activity1 with the name listed in column B copied in document1 cell A1
*print document2 if value in column A is activity2 with the name listed in column B copied in document1 cell A1
*print document3 if value in column A is activity2 with the name listed in column B copied in document1 cell A1
Etcetera...
There are:
* 10 different activities with 10 different documents
* variabel number of names
* number of rows (in the excel sheet with the activities and the names)
How can I make this working ok?
Thanx in advance.
Erwin
I've a question: I like to have an excel sheet with in column a an activity and in column b a name of an person. Example:
activity1 name1
activity2 name2
activity3 name3
activity1 name4
Now i like to run a macro which:
*print document1 if value in column A is activity1 with the name listed in column B copied in document1 cell A1
*print document2 if value in column A is activity2 with the name listed in column B copied in document1 cell A1
*print document3 if value in column A is activity2 with the name listed in column B copied in document1 cell A1
Etcetera...
There are:
* 10 different activities with 10 different documents
* variabel number of names
* number of rows (in the excel sheet with the activities and the names)
How can I make this working ok?
Thanx in advance.
Erwin