Excel 2010 宏与按钮的乐趣
好的,我正在创建一个电子表格,该电子表格可以由其他用户编辑,但否则会被锁定。我希望做的是创建 3 个按钮。 “What If”、“Exit What if”和“Reset”
“What if”将允许用户输入数据。 “Exit What if”将允许用户退出输入模式并恢复到默认状态。文档。 然后“重置”将允许用户停留在“假设”状态,但将所有值重置为默认值。
然后我希望“如果”按钮出现在左侧的某个位置,但是当您单击它时,它会被“退出”和“重置”取代
Ok so I am creating a spreadsheet that can be edited by another user but locked otherwise. What I am hoping to do is create 3 buttons. "What If" "Exit What if" and "Reset"
"What if" will allow for the user to input data.
"Exit what if" will allow for the user to exit the input mode and revert back to the default. document.
Then "Reset" will allow for the user stay in "What if" but reset all the values to default.
Then I want the button "What if" to appear somewhere up in the left but when you click it, its replaced by "Exit" and "Reset"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议你多解释一下你的问题,但到目前为止我可以推断你有以下问题:
我主要可以提供以下服务:
这将导致以下代码:
这会复制数据和公式,在不破坏数据源的情况下复制图表是另一个问题,也许您可以详细阐述这个问题。有图表吗?
通常的改进空间:
另一个问题是解锁工作表中的数据。
通常的改进空间:
也就是说,现在
I suggest you to explain a little more you question, but so far for what I can infere you have the folloing issuse:
I can primarily offer the following:
This will result in the followin code:
This make a copy of the data and the formulas, copying charts without breaking his datasource is another problem, maybe your can elabore on this matter. Have any charts?
Usual room for improvement:
The other isssuse is unlock the data in the sheet.
Usual room for improvement:
and that is, for now