录制宏时在 Excel 中禁用粘贴值
我开始录制宏,添加名称并将公式 =NOW( )
插入单元格中。
选择并复制此单元格后,我想通过“主页”->“剪贴板”->“粘贴”菜单中的“粘贴值”将公式转换为其值。
“粘贴值”子菜单命令被禁用,并且“记录宏”按钮被禁用。这会导致无法停止录制宏。
如何解决这个问题?
I started to record a macro, added a name and inserted the formula =NOW( )
in a cell.
After selecting and copying this cell, I want to convert the formula to its value by "Paste Values" in Home->Clipboard->Paste menu.
The Paste Values submenu command is disabled, and the Record Macro button is disabled. This results in being unable to stop recording the macro.
How can this be solved?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我无法复制这种行为,所以不确定为什么您无法停止录制宏,但是...
我认为您正在尝试让单元格内容包含固定点的时间/日期,并且不会每次都更改打开电子表格或重新计算?如果是这样,则一行如下:
这样就无需再费力地复制和粘贴值了。
华泰
I wasn't able to replicate this behaviour so not sure why you are unable to stop recording your macro but ...
I presume you are trying to have the cell contents contain the time / date at a fixed point and not change every time you open the spreadsheet or recalculate? If so, a line such as:
This removes the need to faff about with copying and pasting values.
HTH