在Personal.xlsb中运行已写入(未记录)的宏 [英] Running Written (not Recorded) Macros in Personal.xlsb

查看:220
本文介绍了在Personal.xlsb中运行已写入(未记录)的宏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过录制宏创建了一个Personal.xlsb文件(我无法想出任何其他方法)。

I created a Personal.xlsb file by recording a macro (I couldn't figure out any other way to do it).

现在我写了一个宏在同一个模块中(BoldMe是记录的,玩具1是我写的那个)...

Now I've written a macro in that same Module (BoldMe is the recorded one, toy1 is the one I wrote) ...

 

但是当我尝试从另一个工作簿运行该宏时,尽管宏是"被看见的" "运行"按钮被禁用:

But when I try to run that macro from another workbook, although the macro is "seen" the Run button is disabled:

请注意,仅启用按钮是"创建"按钮。 - 但宏显然已经存在。 

Note that the only enabled button is "Create" - but the macro obviously already exists. 

我不得不承认我的很多困惑,但我认为我正确理解Personal.xlsb中的宏可供所有工作簿使用。

I have to admit to a lot of confusion on my part but I thought I correctly understood that macros in Personal.xlsb were available to all workbooks.

谢谢,  Bob

Thanks,  Bob

推荐答案

嗨Bob,

您是否在Tab Developers中检查了Macro Security设置,见下面的截图:

Did you check your Macro Security settings in Tab Developers, see below screenshot:

然后设置:

希望这有帮助,


这篇关于在Personal.xlsb中运行已写入(未记录)的宏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆