Created
February 14, 2017 07:04
-
-
Save toagit/861dbdae7f08f2d6bb46b6df435f62f1 to your computer and use it in GitHub Desktop.
クリップボードに値を設定する。サンプルはアクティブブックのフルパスを設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub CopyActiveBookPath() | |
Dim path As String | |
path = ActiveWorkbook.FullName | |
With CreateObject("new:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}") | |
.SetText path | |
.PutInClipboard | |
End With | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment