View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ian Ian is offline
external usenet poster
 
Posts: 238
Default Pull drive information into worksheet

One way

Sub FindDrive()

MsgBox "The drive is " & Left(ActiveWorkbook.Path, 3)

End Sub

--
Ian
--
"CM" wrote in message
...
Is there an Excel function that captures which drive partition the
worksheet
is in (e.g., C:\, D:\, etc.) ?

Thank you,

CM