Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 526
- Office Version
- 2007
Hello everybody.
I've the following job.
https://www.dropbox.com/s/ek5nyx5lnfxclog/Develop.xlsm?dl=0
In the sheet "Beta" you can find the data source (column D).
In the sheet "Alpha", in the first free column, I've to count the quantity of recurrence.
Now, I've identified the first free column in Alpha with:
Now, how can I create the results below in Alpha using vba?
B5 = 1
B6 = 7
B7 = 7
B8 = 3
B9 = 1
B10 = 19
I've the following job.
https://www.dropbox.com/s/ek5nyx5lnfxclog/Develop.xlsm?dl=0
In the sheet "Beta" you can find the data source (column D).
In the sheet "Alpha", in the first free column, I've to count the quantity of recurrence.
Now, I've identified the first free column in Alpha with:
Code:
Sub Alphabet()
With Sheets("Alpha")
For I = 1 To Columns.Count
If Cells(4, I) = "" Then Exit For
Next I
freecolumn = I
End With
End Sub
Now, how can I create the results below in Alpha using vba?
B5 = 1
B6 = 7
B7 = 7
B8 = 3
B9 = 1
B10 = 19
Last edited: