DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Function GetMonthWeek()
dat = Date
GetWeekNumber = CInt(Format(dat, "ww", vbMonday, vbUseSystem) - Format(dat - Day(dat) + 1, "ww", vbMonday) + 1)
GetMonthWeek = getMonth() & " Ayının " & GetWeekNumber & ". Haftası "
End Function
Fonksiyon olarak yapmak isterseniz şu şekilde olabilir.
B2 = GetMonthWeek()
Kod:Function GetMonthWeek() dat = Date GetWeekNumber = CInt(Format(dat, "ww", vbMonday, vbUseSystem) - Format(dat - Day(dat) + 1, "ww", vbMonday) + 1) GetMonthWeek = getMonth() & " Ayının " & GetWeekNumber & ". Haftası " End Function
Function GetMonthWeek()
ay = Format(Date, "mmmm")
dat = Date
GetWeekNumber = CInt(Format(dat, "ww", vbMonday, vbUseSystem) - Format(dat - Day(dat) + 1, "ww", vbMonday) + 1)
GetMonthWeek = ay & " Ayının " & GetWeekNumber & ". Haftası "
End Function
=AŞAĞIYUVARLA((A1-TARİH(YIL(A1);AY(A1);1))/7;0)+1
=METNEÇEVİR(A1;"aaaa")&" "&AŞAĞIYUVARLA((A1-TARİH(YIL(A1);AY(A1);1))/7;0)+1&" .Hafta"