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!