加个变量吧
If e.Col.Name = "出生日期" And e.Text > "" Then Dim d As Date = e.Text e.Text = Format(d,"yyyy年MM月dd日")End If