You use the property Parent
The parent of range on a worksheet is the sheet.
The parent of a sheet is the workbook
Set Src = Application.InputBox("WHAT?", , , , , , , 8)
SheetName = Src.parent.name
BookName = Src.parent.parent.name
--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=166368
Microsoft Office Help