Create matrix method

Hi experts,

If I get some input value 1 to 9
Then I need to get output in matrix.
Like this
1 2 3
4 5 6
7 8 9

Could anyone help me please?

1 Like

Take a do while loop first number as a starting number and second number as a maximum limit.
Inside loop increment from starting number till maximum number. Print values. you will get 1,2,3,4,5,6,7,8,9.
each 3 numbers print vbNewLine option then you can get
1,2,3,
4,5,6
7,8,9.

Hope my inputs are useful

here you go
hope its resolved
matrix.zip (9.4 KB)

Cheeers @Abubakkar

were we able to get them buddy
Cheers @Abubakkar

1 Like

Thanks for the help @Palaniyappan.
But I need in the result row count and column count.
if I give row count is 3 and column count is 3 .
then i will assign some number of values.
i get the output should be in matrix

Thanks in Advance