Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Joel Evans   on Jan 06 In MS Office Category.

  
Question Answered By: Andrew Bryant   on Jan 06

Because you said that you are trying to create  a function  that returns  the name
of the sheet "in which the function is entered" it is not necessary to create a
Select Case Statement.

Function Sheetname() As String
Sheetname = ActiveSheet.Name
End Function

Should do it for you. Let me know if I misunderstood what you need the function
to be able to do.

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on User defined functions not recognized Or get search suggestion and latest updates.


Tagged: