Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Kuhaylah Malik   on Oct 01 In MS Office Category.

  
Question Answered By: Sally Pierce   on Oct 01

This works in my locale. You will probably need to change the
IF() function  syntax to work with your number system.

In cell:
=IF(ActiveSheetName("CityBank"),1.23,1.75)

In module:
Function ActiveSheetName(Name As String)

ActiveSheetName = False
If Application.ActiveSheet.Name = Name Then ActiveSheetName = True

End Function

Share: 

 

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

 
Didn't find what you were looking for? Find more on Excel Function Or get search suggestion and latest updates.


Tagged: