-1

i revised my question for clarification. i really don't know the basic code for this visual basic in excel but i want it actually to look like this. http://i.imgur.com/GueY2F1.jpg?1

In the example picture, for instance if I click a button, column 'I' should store the values, separated by a dot, from each cell of columns 'C','D','F'. the code should be applicable as long as there's a value in columns C,D,F so it doesn't mean it is always on row 6. thank you for the help!

4

2 回答 2

0

单元格 G3 的公式

 =C3 & "." & D3 & "." & E3
于 2013-05-17T09:51:47.440 回答
0
ActiveSheet.Cells(3, 7).Formula = "=CONCATENATE(C3,""."",D3,""."",E3)"
于 2013-05-17T09:50:46.857 回答