Tonsky
Thành viên mới

- Tham gia
- 5/2/10
- Bài viết
- 4
- Được thích
- 0
Các bạ cho mình hỏi đoạn code này sai ở đâu mà khi mình lưu lại thành file .xla thì nó báo là ko hợp lệ vậy
Public Function MyVLookup(val As Variant, r As Range, c As Integer, flag As Boolen) As Variant
MyVLookup = Application.VLookup(val, r, c, flag)
If IsError(MyVLookup) Then MyVLookup = 0
Ens Function
Public Function MyVLookup(val As Variant, r As Range, c As Integer, flag As Boolen) As Variant
MyVLookup = Application.VLookup(val, r, c, flag)
If IsError(MyVLookup) Then MyVLookup = 0
Ens Function