Forum Discussion

Gianni_F's avatar
Gianni_F
Copper Contributor
Jun 03, 2022

Database --> Outroll with array vba

Hi,

 

I try to get information from multiple databases in one worksheet on a specific row/column.

 

Let me explain:

See pictures below. I want to start with an empty sheet, and when I press create outroll invoice, the vba code needs to look into other sheets(for example 'sheet 1') row per row for specific information and put them in an specific order in a other sheet(sheet 2). After reading 1 row from 'sheet 1' he needs to read the information in the row below and put them also in sheet 2 a few rows belows untill its empty. After reading sheet 1, I want to read other sheets as well and put them below in the outroll.

 

I have already seen multiple videos who are using array VBA to collect information and put them into other sheets and sometimes manipulating the numbers which is in my case not necessary. 

 

The part to collect the information with array is clear, but to right them down in a specific order is for me not clear.

 

If this is not clear yet, I'll show it with more examples. 

No RepliesBe the first to reply

Resources