简体   繁体   English

在 excel vba 中找不到我的代码

[英]Can´t find my code in excel vba

I have written a code that should run when a cell in the worksheet changes.我编写了一个代码,当工作表中的单元格更改时应该运行该代码。 It works well and fast.它运作良好,速度很快。

Now I want to add another case to the code... but now I can´t find it.现在我想在代码中添加另一个案例......但现在我找不到它。

Can I somehow search for the code?我可以以某种方式搜索代码吗? There are no modules or forms and I have tried to select worksheet and change.. but the code does not appear.没有模块或表单,我试图选择工作表并更改..但代码没有出现。

Please help请帮忙

Regards Henrik问候亨里克

If the code reacts on Worksheet change, it's within Microsoft Excel Objects for the sheet如果代码对工作表更改做出反应,则它位于工作表的Microsoft Excel Objects在此处输入图片说明

I don't know if this will help, but when my code hides (hugely frustrating!), I hit the "Macros" button - it should show up in the list there if it's working in your sheet.我不知道这是否会有所帮助,但是当我的代码隐藏时(非常令人沮丧!),我点击了“宏”按钮 - 如果它在您的工作表中工作,它应该显示在那里的列表中。 Then you can select it, choose "step into", and at least get to where you can edit the code.然后你可以选择它,选择“进入”,至少可以到达你可以编辑代码的地方。 Good luck!祝你好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM