Good Evening -
I need a Macro that when run from the Active Cell, that would Highlight and Copy the <b>Entire</b> Formula Bar Contents to the Clipboard ?
I found a past thread here at Mr Excel:
http://www.mrexcel.com/forum/showthread.php?t=192384
It gives what appears to be a Solution to a similar need.
I am not sure how to "add a reference to Microsoft Forms 2.X Object Library" to try this out. As is, it nets a Compile error at the Dim Statement.
Is this Code what I need ? Am I on the Right Track ?
Help and Explanation much appreciated. Or if there is a simpler way ?
Thanks as Always -- Your help appreciated much !!
I need a Macro that when run from the Active Cell, that would Highlight and Copy the <b>Entire</b> Formula Bar Contents to the Clipboard ?
I found a past thread here at Mr Excel:
http://www.mrexcel.com/forum/showthread.php?t=192384
It gives what appears to be a Solution to a similar need.
Code:
Sub TryThisFirst()
Dim DatObj As New DataObject
DatObj.SetText ActiveCell.Text
DatObj.PutInClipboard
End Sub
'add a reference to Microsoft Forms 2.X Object Library
I am not sure how to "add a reference to Microsoft Forms 2.X Object Library" to try this out. As is, it nets a Compile error at the Dim Statement.
Is this Code what I need ? Am I on the Right Track ?
Help and Explanation much appreciated. Or if there is a simpler way ?
Thanks as Always -- Your help appreciated much !!