Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Parent of the embeded excel

Is there a method to know something about the parent of an embeded excel?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Parent of the embeded excel

Sub test()
MsgBox Selection.Address
MsgBox Selection.Parent.Name
MsgBox Selection.Parent.Parent.Name
End Sub


The last Msgbox will return the Workbook name (mon-embedded) or
the enclosing Word doc name & path ( embedded)
--
Gary''s Student - gsnu200720
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to display multiple children of a parent in excel LATCHALI Excel Discussion (Misc queries) 1 February 22nd 07 02:54 PM
Setting properties for Embeded Excel in HTML excelnewbieian Excel Discussion (Misc queries) 0 August 11th 06 04:16 PM
Getting embeded Excel worksheets with macros in Word to work [email protected] Excel Discussion (Misc queries) 3 June 20th 06 01:56 PM
Embeded Excel File gridlines? dlw Excel Discussion (Misc queries) 2 July 20th 05 08:42 PM
Displaying Linked and Embeded Objects in Excel kearndog_13 Excel Discussion (Misc queries) 0 May 31st 05 08:22 AM


All times are GMT +1. The time now is 06:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"