How do I know when a file has been modified in a VBA Macro?

前端 未结 4 1585
甜味超标
甜味超标 2020-12-11 09:05

Is there a way to watch a file in VBA (which is essentially VB6), so that I know when the file has been modified? -- similar to this only I don\'t want to know when a file i

4条回答
  •  抹茶落季
    2020-12-11 09:23

    Have a look here. The page has a "Watch Directory Demo" VB sample, by Bryan Stafford.

提交回复
热议问题