Posts

Showing posts from June, 2018

การเก็บข้อมูลตัวแปร Arrays, Dictionary, ArrayList และ data structures อื่นๆ ใน VBA

การเก็บข้อมูลบนตัวแปร นอกจาก Array ที่เราเคยใช้กันนั้น ยังมีหลายรูปแบบที่รองรับการเขียนโปรแกรมบน VBA ที่น่าสนใจ และใช้งานง่ายกว่า Array เช่น Collection, Dictionary, Hashtable เป็นต้น ลองตามไปดูกันว่ามีอะไรน่าสนใจบ้าง https://analystcave.com/excel-vba-dictionary-arrays-and-other-data-structures/ https://analystcave.com/vba-collection/ https://www.mrexcel.com/forum/excel-questions/177640-hashtable-vba.html