TGViewer
UstozMahmud UstozMahmud @ustozmahmudd · 1.81K subscribers
Post #151 1.68K
61-kun uchun yozilgan darsdagi kodlar
Private Sub Worksheet_Change(ByVal Target As Range)

Dim cell As Range

' Faqat B ustun kuzatiladi
If Not Intersect(Target, Range("B:B")) Is Nothing Then

Application.EnableEvents = False

For Each cell In Intersect(Target, Range("B:B"))

' Agar B katak bo‘sh emas va A hali bo‘sh bo‘lsa
If cell.Value <> "" And cell.Offset(0, -1).Value = "" Then
cell.Offset(0, -1).Value = Date
End If

Next cell

Application.EnableEvents = True

End If

End Sub

#excelcode #61-kun
  • ❤ 6
  • 👍 3
More from @ustozmahmudd
  1. Sep 28, 2026📊 Excel 98-kun Excel bo‘yicha 98-kunlik amaliy sayohatimiz davom etmoqda! 🚀 Bugungi dars…
  2. Sep 24, 2026📊 Excel 97-kun Excel bo‘yicha amaliy darslarimiz davom etmoqda! 🚀 Bugungi darsda real is…
  3. Sep 22, 2026📊 Excel 96-kun Excel bo‘yicha amaliy darslarimiz davom etmoqda! 🚀 Bugungi darsda real is…
  4. Sep 19, 2026📊 Excel 95-kun Excel bo‘yicha 95-kunlik amaliy o‘rganish yo‘limiz davom etmoqda! 🚀 Bugun…
  5. Sep 18, 2026📊 Excel 94-kun Bugungi darsda Excel’ning yana bir foydali imkoniyatini amaliy misol orqal…
  6. Sep 17, 2026📊 Excel 93-kun Bugungi darsda Excel bilan ishlashni yanada osonlashtiradigan foydali usul…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →