我希望你能帮忙
我需要以下vba脚本将连接的单元格B2和B4复制到新的记事本中。有什么想法吗?
A B
a (IDNo IN ('a'
b (IDNo IN ('a', 'b '
c (IDNo IN ('a', 'b ', 'c'
d (IDNo IN ('a', 'b ', 'c', 'd'
e (IDNo IN ('a', 'b ', 'c', 'd', 'e'
将选择粘贴到新记事本中的代码:
'Start Notepad And let it recieve focus
Shell "notepad.exe", vbNormalFocus
'Send the keys CTRL+V To Notepad (i.e the window that has focus)
SendKeys "^V"
答案 0 :(得分:0)
通过在Sheet2中创建新的帮助字段并将结果导出到记事本
来解决