I have a macro that I run daily, after the macro runs I manually go and update what I do not how to code.
Effectively there is information in a cell of a workbook, Cell G2, always G2. The thing is each week the file name changes by week number and the week number comes from Excel weeknum(today(),1) function.
So this week is Daily Report Week 39.xslx and next week it will be Daily Report Week 40.xslx and so on.
I know how to point to a cell in a macro but do not know how to write so account foe the week num changing? How could that be done in macro code? Any ideas? is it even possible?
Thanks in advance.
Effectively there is information in a cell of a workbook, Cell G2, always G2. The thing is each week the file name changes by week number and the week number comes from Excel weeknum(today(),1) function.
So this week is Daily Report Week 39.xslx and next week it will be Daily Report Week 40.xslx and so on.
I know how to point to a cell in a macro but do not know how to write so account foe the week num changing? How could that be done in macro code? Any ideas? is it even possible?
Thanks in advance.