0
我希望你能幫助VBA來複制某些細胞到記事本
我需要以下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"
歡迎SO,阿德里安!請看看:http://stackoverflow.com/help/how-to-ask – duDE