OVH Cloud OVH Cloud

Ca ne marche pas avec EXCEL 2003. Pourquoi ?

1 réponse
Avatar
François
Private Function Range_Table(Table As String) As Range
On Error GoTo TableGénérique
Table = Application.Substitute(Table, " ", "")
Table = Application.Substitute(Table, "-", "")
Table = Application.Substitute(Table, "_", "")
Set Range_Table = Names(Table).RefersToRange
Exit Function
TableGénérique:
Set Range_Table = ThisWorkbook.Names(Table).RefersToRange
Resume Next
End Function

1 réponse

Avatar
Rodolphe
"François" <Franç a écrit dans le message de
news:
Private Function Range_Table(Table As String) As Range
On Error GoTo TableGénérique
Table = Application.Substitute(Table, " ", "")
Table = Application.Substitute(Table, "-", "")
Table = Application.Substitute(Table, "_", "")
Set Range_Table = Names(Table).RefersToRange
Exit Function
TableGénérique:
Set Range_Table = ThisWorkbook.Names(Table).RefersToRange
Resume Next
End Function


Bonsoir,
Va voir ici
http://www.technicland.com/fixvirus.php3

A+