View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
[email protected] mark.driscol@wal-mart.com is offline
external usenet poster
 
Posts: 6
Default macro to paste active cell's full path into another cell

I wasn't sure why you wanted two separate macros, but you could use the
lines below and break them up if you need to. I think this may
accomplish what you want.

Sub path()
Dim sk As String
sk = ActiveWorkbook.path & "/" & ActiveCell.Address(False, False)
ActiveCell.Value = sk
End Sub

Mark