Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello Everyone,
I have done some searching to no avail about how to put the activeworksheet filename into the text of an input/message box. Does anyone have an idea that could work? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
msgbox Prompt:="hi " & activesheet.name
or maybe: msgbox Prompt:="hi there", title:=activesheet.name Chadersmith wrote: Hello Everyone, I have done some searching to no avail about how to put the activeworksheet filename into the text of an input/message box. Does anyone have an idea that could work? Thanks -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim S As String
For the worksheet name: S = ActiveSheet.Name For the workboook name: S = ThisWorkbook.Name For the workbook file name: S = ThisWorkbook.FullName MsgBox S Cordially, Chip Pearson Microsoft MVP 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com [email on web site] On Thu, 21 Jan 2010 08:46:11 -0800, Chadersmith wrote: Hello Everyone, I have done some searching to no avail about how to put the activeworksheet filename into the text of an input/message box. Does anyone have an idea that could work? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add a input box to ask for a filename to macro | Excel Discussion (Misc queries) | |||
Error message - Errors were detected while saving FILENAME | Excel Discussion (Misc queries) | |||
Input the filename into Excel Sheet | Excel Programming | |||
Input filename at start of macro | Excel Programming | |||
input message | Excel Programming |