hoanganhdl
Thành viên hoạt động



- Tham gia
- 10/2/09
- Bài viết
- 135
- Được thích
- 74
- Nghề nghiệp
- Kế toán viên
Đang nghiên cứu về Ribbon gặp vấn đề nhờ thầy cô & ace giúp đỡ
File test down từ bài "Làm quen với Ribbon" ở box "Hàm & công thức excel", mình có post bài hỏi nhưng chưa có ai trả lời có thể do sai box nên mình post lại ở đây
Mình sửa array ở Ribbon onload
nhưng lại bị lỗi ở phần label
File test down từ bài "Làm quen với Ribbon" ở box "Hàm & công thức excel", mình có post bài hỏi nhưng chưa có ai trả lời có thể do sai box nên mình post lại ở đây
Mình sửa array ở Ribbon onload
Mã:
Sub RibbonLoad(rb As IRibbonUI) Set ribbon = rb
arrItem = WorksheetFunction.Transpose(Range(Sheets("SOY").Range("c11"), Sheets("SOY").Range("c65000").End(xlUp)))
End Sub
nhưng lại bị lỗi ở phần label
Mã:
Sub GetItemLabel(control As IRibbonControl, index As Integer, ByRef itemLabel)
itemLabel = arrItem(index)
End Sub