Standalone code for Excel

前端 未结 2 2039
暗喜
暗喜 2021-01-07 12:18

Can VBA code be written to perform actions on any Excel file?

When I create a project in Visual Studio, it asks for an Excel file

2条回答
  •  青春惊慌失措
    2021-01-07 12:24

    Answer 1

    You can do that in VB.Net too. Just make a regular project. (comment by @SLaks)

    This worked for me very well and was exactly what I was looking for.

    Answer 2

    The very descriptive answer posted by @ErikEidt

    I haven't tried this, but it seems like a good and alternative way of getting macros to work.

提交回复
热议问题