MS Access: how to compact current database in VBA

后端 未结 13 1638
慢半拍i
慢半拍i 2020-11-29 07:34

Pretty simple question, I know.

13条回答
  •  我在风中等你
    2020-11-29 08:09

    For Access 2013, you could just do

    Sendkeys "%fic"
    

    This is the same as typing ALT, F, I, C on your keyboard.

    It's probably a different sequence of letters for different versions, but the "%" symbol means "ALT", so keep that in the code. you may just need to change the letters, depending on what letters appear when you press ALT

    Letters that appear when pressing ALT in Access 2013

提交回复
热议问题