Please can someone help me.
I am only self taught in this VBA stuff. I have a spreadsheet which has a sheet name for each of the months of the year, each sheet has a formula for each day fo the year (and for each employee (66ish). I have built a simple VBA program that will allow me to add data to a sheet called Dates. Each of the formulas (on the months sheet) read from this sheet.
The formula is:
Is there a way to cause the VBA program when it enters the data into the Dates sheet to action this formula. Therefore not needing the formula 24,000 times.
I hope this makes sense.
If it the last four days of the month (I have a slightly different formula
Can anyone help or make sense of this
I am only self taught in this VBA stuff. I have a spreadsheet which has a sheet name for each of the months of the year, each sheet has a formula for each day fo the year (and for each employee (66ish). I have built a simple VBA program that will allow me to add data to a sheet called Dates. Each of the formulas (on the months sheet) read from this sheet.
The formula is:
Code:
=IF(SUMPRODUCT(($B3=Sname)*(Sfrom<=C$2)*(Sto>=+C$2))+IF(WEEKDAY(C$2,2)>5,2,0)=1,"A","")
I hope this makes sense.
If it the last four days of the month (I have a slightly different formula
Code:
=IF(SUMPRODUCT(($B3=Sname)*(Sfrom<=AD$2)*(Sto>=+AD$2))+IF(WEEKDAY(AD$2,2)>5,2,0)=1,"A","")
Can anyone help or make sense of this