Sub Test()
Dim time As Date
Dim limit_A As Date
Dim limit_B As Date
time = Now()
limit_A = Int(time) + TimeValue("02:50")
limit_B = Int(time) + TimeValue("01:30")
ActivePresentation.Slides(1).Shapes("1").TextFrame.TextRange.Text = IIf(limit_A > time And time > limit_B, "Ano", "Ne")
End Sub
Pohybujete sa na prelome dní, treba počítať aj s dátumom.citovat