- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 277
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-12-23
|
¦^´_ 3# Genie
¦Û©w¸q¨ç¼Æ- Function LocationName(Fn As Range, Rng As Range, item_name As Integer) As String
- Dim A As Range
- For Each sh In Sheets
- With sh
- If sh.Name <> ActiveSheet.Name Then
- Set A = .Range(Rng.Address(, , xlA1)).Find(Fn)
- If Not A Is Nothing Then
- Select Case item_name 'item_name=0¶Ç¦^¤u§@ªí¦WºÙ,item_name=1¶Ç¦^Àx¦s®æ¦ì§}
- Case 0
- LocationName = .Name
- Case 1
- LocationName = A.AddressLocal
- End Select
- Set A = Nothing
- Exit For
- End If
- End If
- End With
- Next
- End Function
½Æ»s¥N½X
SheetName.zip (10.27 KB)
|
|