Dim a, b
For m=1 to 3
For n=2 to 3
A=m + n
B=b + a
Cells (m, 1)=b
Print cells (m, 1)
The next n
Next m
End sub
Cells (1, 1)=1 + 2 + 3
Cells (2, 1)=2 + 2 + 3 + cells (1, 1) "actually don't want + cells (1, 1)
Cells (3, 1)=3 + 2 + 3 + cells (2, 1) "actually don't want + cells (2, 1)
Want is cells (1, 1)=1 + 2 + 3, cells (2, 1)=2 + 2 + 3, cells (3, 1)=3 + 2 + 3, excuse me, how to implement,
CodePudding user response:
Information is insufficient, can't answer,CodePudding user response:
For I=1 to 3Cell (im) 1=I + 2 + 3
next
CodePudding user response:
What is the cell function, so don't know what to showIs your program, in fact, in the print statements cells followed by (m, 1); The semicolon is ok,