วันพฤหัสบดีที่ 16 เมษายน พ.ศ. 2563

Excel​ VBA Basic 1 พื้นฐานที่สุดจำเป็นที่สุด Range & Cells Part1/2





Excel VBA ขั้นพื้นฐานและสำคัญที่สุด

Part1 การอ้างถึง Range และ Cell แบบ cell เดียว

การอ้างถึง Cell ในรูปแบบ ชื่อ Cell, Address, cell(index number), ActiveCell

การใส่ Comments หรือ Break คำสั่งใน VBA

การใช้ Method: .Select,  Property: .Value

การ Jump หรือกระโดดข้ามตำแหน่งให้เร็ว ไปขวาสุด ไปล่างสุด กลับ "A1"/Home (Short Key)

การถามเลข Column จาก VBA อ่านค่าตัวหนังสือ Column Name ให้เป็น Column Index number

การใช้ Property: .Column

จบ Part2 มีไฟล์ code ตัวอย่างตามคลิปให้ download ฟรีๆเลย ขอแค่คนละแชร์ครับ


ไม่มีความคิดเห็น:

แสดงความคิดเห็น

Excel worksheet formular cut number from text

Excel worksheet formula cut number from text