Excel 插入实时时间后不在更新

 时间:2026-02-13 04:20:26

1、方法一:直接快捷键插入当前时间;

日期:Ctrl + “;”;时间:Ctrl + shift + “;”

Excel 插入实时时间后不在更新

2、方法二:利用数据有效性来设置;

【数据】—【数据有效性】—【序列】—辅助单元格

Excel 插入实时时间后不在更新

3、方法三:实例是一个简单的文件交接记录表,需要文件外发的时候记录文件名自动对应行记录时间,返回盖章同样记录时间。利用VBA编程,写一个sheet_change事件,代码如下:

Private Sub Worksheet_Change(ByVal Target As Range)

    On Error Resume Next

    If Target.Row = 1 Then Exit Sub

    If Target.Count <> 1 Then Exit Sub

    If Target.Column = 4 And Target.Value <> "" Then

        Cells(Target.Row, 2) = Now

    ElseIf Target.Column = 5 And Target = "是" Then

        Cells(Target.Row, 3) = Now

    Else

        Cells(Target.Row, 2) = "" And Cells(Target.Row, 3) = ""

    End If

End Sub

Excel 插入实时时间后不在更新

  • excel按日期条件提取数据
  • 在excel表格中怎么统计包含当天日期的信息
  • Excel如何自动统计当前日期数据
  • Excel如何快速标识特定值单元格?
  • Excel 非空单元格用什么函数表示
  • 热门搜索
    10085是什么电话 开心果是什么树的果实 垄断是什么意思 父亲节送什么礼物 什么是周长 电子商务是干什么的 12月6日是什么星座 8月24日是什么星座 域名是什么 什么英文