View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
GerryO GerryO is offline
external usenet poster
 
Posts: 3
Default Embedded Excel Object - Containers Path and Name

I have embedded an Excel Sheet into a Word Document and the sheet has a
button on it that I have placed some code in. I desparately need to figure
out what VBA code to use in order for me to get the name of the document that
the Excel Sheet is embedded in.

I have tried ThisWorkBook.FullName but that does not give me the full path
of the document. It does return the name of the Word Document, but not the
path.

I have tried ThisWorkBook.path, but that returns nothing.

Any Ideas Folks?


Thanks,
Gerry O.