Hi,
I came across the following problem: I haven't got that much knowledge of programming, until this moment, I only made macros, using the record function in excel. This doesn't seem to work with the macro I need atm.
Little explanation:
The idea is the possibiliy of manually going through a list (listed in worksheet B), by using a macro shortcut. When encountering an article that applies to the project, pressing enter and continuing in the row below, again till an article that applies is encountered.
I was thinking to do it based on a 'xxx' cel, which is moved down, cell by cell, by using the macro command. The associated articles are shown, using the vert.lookup function, searching for the 'xxx' and showing the arcticle information of the concerned row. (By moving the xxx cel one row down, the vert.lookup should apply to the next row, and so, the next article).
But I haven't really got a clue how to start. The macro should one way or another, search for the xxx cell and start there, moving that cell.
A simple excel file is included below (as posted on other forum, the attachment option doesn't seem to work)
https://www.excelforum.com/attachme...h-a-list-macro-lijst-meetstaat-voorbeeld.xlsx
Cell A4,A5 and A6 contain the vert.lookup function needed to display the results. (in case of using the macro, after using the vert.lookup function, just the values will be pasted and so
independent of the location of the "xxx" cell, otherwise all the chosen articles would change when moving the "xxx" search cell ofcourse
)
Hope my explanation was somewhat clear
Thanks in advance!
Michiel
I came across the following problem: I haven't got that much knowledge of programming, until this moment, I only made macros, using the record function in excel. This doesn't seem to work with the macro I need atm.
Little explanation:
The idea is the possibiliy of manually going through a list (listed in worksheet B), by using a macro shortcut. When encountering an article that applies to the project, pressing enter and continuing in the row below, again till an article that applies is encountered.
I was thinking to do it based on a 'xxx' cel, which is moved down, cell by cell, by using the macro command. The associated articles are shown, using the vert.lookup function, searching for the 'xxx' and showing the arcticle information of the concerned row. (By moving the xxx cel one row down, the vert.lookup should apply to the next row, and so, the next article).
But I haven't really got a clue how to start. The macro should one way or another, search for the xxx cell and start there, moving that cell.
A simple excel file is included below (as posted on other forum, the attachment option doesn't seem to work)
https://www.excelforum.com/attachme...h-a-list-macro-lijst-meetstaat-voorbeeld.xlsx
Cell A4,A5 and A6 contain the vert.lookup function needed to display the results. (in case of using the macro, after using the vert.lookup function, just the values will be pasted and so
independent of the location of the "xxx" cell, otherwise all the chosen articles would change when moving the "xxx" search cell ofcourse
Hope my explanation was somewhat clear
Thanks in advance!
Michiel