soulytrack
New Member
- Joined
- Jul 4, 2011
- Messages
- 3
Hi everyone,
Complete noob when it comes to excel/vba commands, but I absolutely need to figure this out.
Here's the layout :
Column A has dates from July 1st 2011 down to March 23rd 2014 (A4:A1000).
Column B is empty. Will remain this way.
Column C, from C4 to C1000, has a default value of "0". These are the numbers of calls in the day.
Here's what I need to do :
Everytime I receive a call, I want to increment that number in today's corresponding cell (in the C column) by 1 with the press of a button.
I've figured out how to add a button and add a macro with a VBA script I found through my numerous google searches.
This only works for one specific cell (C7, in this instance). I don't want to have to modify the macro every day, so I was wondering :
How can I ...
Thank you so much in advance, you guys are life savers.
P.S. If you're having trouble following my conditions, let me know and I'll gladly clear it up.
Complete noob when it comes to excel/vba commands, but I absolutely need to figure this out.
Here's the layout :
Column A has dates from July 1st 2011 down to March 23rd 2014 (A4:A1000).
Column B is empty. Will remain this way.
Column C, from C4 to C1000, has a default value of "0". These are the numbers of calls in the day.
Here's what I need to do :
Everytime I receive a call, I want to increment that number in today's corresponding cell (in the C column) by 1 with the press of a button.
I've figured out how to add a button and add a macro with a VBA script I found through my numerous google searches.
Code:
Sub Plus()
With ActiveSheet.Range("C7")
.Value = .Value + 1
End With
End Sub
This only works for one specific cell (C7, in this instance). I don't want to have to modify the macro every day, so I was wondering :
How can I ...
- Make Excel select the current date's cell in column C
- Increment the number by 1 after every click of the button in the right column, according to the date
P.S. If you're having trouble following my conditions, let me know and I'll gladly clear it up.