Thanhlam2425
Thành viên hoạt động
- Tham gia
- 23/11/18
- Bài viết
- 113
- Được thích
- 12
Adding Column Headers
You can only display column headers when you use the RowSource property, not when you use an array or add items individually.
To display column headers set the ColumnHeads property to True.
Do not include the column headings on the worksheet in the range defined for RowSource.
The row directly above the first row of the RowSource will be automatically used.
Đây mình muốn nó có tiêu đề là phần tử ở chiều thứ nhất trong mảng.Chứ không phải là ở excle có được không bạn.Ví dụ mình có mảng lấy dữ liệu ở file khác sang rồi ấy.để hiển thị được tiêu đề thì bạn phải dùng RowSource.
vùng dữ liệu đưa vào listbox không được chứa dòng tiêu đề
và dòng tiêu đề phải nằm ngay bên trên vùng dữ liệu đó. (listbox sẽ tự động dùng dòng phía trên đó để làm tiêu đề)
//mình đọc ở bettersolution
Mã:Adding Column Headers You can only display column headers when you use the RowSource property, not when you use an array or add items individually. To display column headers set the ColumnHeads property to True. Do not include the column headings on the worksheet in the range defined for RowSource. The row directly above the first row of the RowSource will be automatically used.
Theo mình tìm hiểu thì ta không thể dùng mảng để cho vào tiêu đề được.Đây mình muốn nó có tiêu đề là phần tử ở chiều thứ nhất trong mảng.Chứ không phải là ở excle có được không bạn.Ví dụ mình có mảng lấy dữ liệu ở file khác sang rồi ấy.