|
|
It's often useful to document, either in a module or in a post, the referencs needed to make the module (or code snippet work). Unfortunately you can't copy the path's and names from the references window. Here is a nice and easy way to get the information you need.
For Each r in Application.VBE.ActiveVBProject.References:?"'"&r.Name,r.FullPath:NextSome people (me) like this format better, it's a little longer though:For Each r in Application.VBE.ActiveVBProject.References:?"'"& vbTab+"-"&r.Description:?"'"&vbTab+" "&r.FullPath:Next
Categories: VBA
The words you entered did not match the given text. Please try again.
Oops!
Oops, you forgot something.