Trung Tâm Tin Học Hoài Ân Khai giảng lớp Lập trình VBA For Excel, là khoá học giúp học viên làm chủ Excel với các công thức tính toán, tra cứu dữ liệu, Nhập dữ liệu thông qua các công cụ lập trình VBA trên Excel.
Khoá học VBA trên Excel được Trung Tâm Tin Học Hoài Ân biên soạn và giảng dạy đầu tháng 6 năm 2019 nhằm đáp ứng nhu cầu nâng cao trình độ Excel cho nhân viên tại doanh nghiệp.
Website: https://www.tinhochoaian.com/2016/12/lap-trinh-vba-tren-excel.html
In this chapter we will discuss exceptions in the object-oriented programming and in C# in particular. We will learn how to handle exceptions using the try-catch construct, how to pass them to the calling methods and how to throw standard or our own exceptions using the throw construct. We will give various examples for using exceptions. We will look at the types of exceptions and the exceptions hierarchy in the .NET Framework. At the end, we will look at the advantages of using exceptions, best practices and how to apply them in different situations.
Vibrant Technologies is headquarted in Mumbai,India.We are the best Python training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Python classes in Mumbai according to our students and corporators
Vibrant Technologies is headquarted in Mumbai,India.We are the best Python training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Python classes in Mumbai according to our students and corporators
This presentation explains few features of advance scala. The topics I have covered here are the Implementations of extractors, Implicit conversions, parameters and implicit context and update function with the code snippet.
In this chapter we will discuss exceptions in the object-oriented programming and in C# in particular. We will learn how to handle exceptions using the try-catch construct, how to pass them to the calling methods and how to throw standard or our own exceptions using the throw construct. We will give various examples for using exceptions. We will look at the types of exceptions and the exceptions hierarchy in the .NET Framework. At the end, we will look at the advantages of using exceptions, best practices and how to apply them in different situations.
Vibrant Technologies is headquarted in Mumbai,India.We are the best Python training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Python classes in Mumbai according to our students and corporators
Vibrant Technologies is headquarted in Mumbai,India.We are the best Python training provider in Navi Mumbai who provides Live Projects to students.We provide Corporate Training also.We are Best Python classes in Mumbai according to our students and corporators
This presentation explains few features of advance scala. The topics I have covered here are the Implementations of extractors, Implicit conversions, parameters and implicit context and update function with the code snippet.
In this chapter we will get familiar with primitive types and variables in Java – what they are and how to work with them. First we will consider the data types – integer types, real types with floating-point, Boolean, character, string and object type. We will continue with the variables, with their characteristics, how to declare them, how they are assigned a value and what is variable initialization.
Excel 2016 VBA PPT Slide Deck - For Basic to Adavance VBA LearningPrantikMaity6
Title: Mastering Excel VBA 2016
Introduction:
Unlock the full potential of Microsoft Excel with Visual Basic for Applications (VBA) 2016. This PowerPoint presentation is designed to guide you through the fundamentals and advanced techniques of Excel VBA, empowering you to automate tasks, enhance productivity, and unleash the true power of data manipulation.
1. Understanding VBA Basics:
Explore the foundational concepts of VBA programming, including variables, data types, control structures, and procedures. Gain insights into the VBA editor and learn how to write and execute your first macro.
2. Automating Tasks with Macros:
Discover how to record macros to automate repetitive tasks effortlessly. Learn best practices for editing and debugging macros, and customize them to suit your specific needs. Harness the power of macros to streamline your workflow and save valuable time.
3. Working with Objects and Methods:
Delve into the world of objects and methods in Excel VBA. Learn how to manipulate worksheets, ranges, cells, and other Excel objects programmatically. Master essential techniques for navigating through workbooks, formatting data, and performing calculations with precision.
4. Event-Driven Programming:
Unlock the potential of event-driven programming in Excel VBA. Explore how to trigger macros automatically in response to specific user actions or worksheet events. Enhance interactivity and user experience by leveraging event-driven techniques effectively.
5. Advanced Topics in Excel VBA:
Take your VBA skills to the next level with advanced topics such as error handling, user-defined functions (UDFs), and interacting with external data sources. Dive deep into the intricacies of VBA programming and empower yourself to tackle complex challenges with confidence.
6. Practical Applications and Case Studies:
Gain practical insights into real-world applications of Excel VBA through interactive case studies and examples. Learn how leading organizations leverage VBA to automate reporting, analyze data, and drive informed decision-making.
**7. Integrating VBA with Other Office Applications:**
Explore the seamless integration of VBA across the Microsoft Office suite. Learn how to leverage VBA to automate tasks not only in Excel but also in other Office applications such as Word, PowerPoint, Outlook, and Access. Discover how VBA can streamline workflows by enabling data exchange and manipulation between different Office programs, maximizing efficiency and productivity.
**8. Customizing User Interfaces with VBA Forms:**
Dive into the realm of user interface customization with VBA forms. Explore how to design and create user-friendly interfaces using form controls such as buttons, checkboxes, textboxes, and dropdown lists. Learn how to enhance user experience by incorporating interactive elements and guiding users through complex processes, all within the familiar environment of Excel.
In this chapter we will get familiar with primitive types and variables in Java – what they are and how to work with them. First we will consider the data types – integer types, real types with floating-point, Boolean, character, string and object type. We will continue with the variables, with their characteristics, how to declare them, how they are assigned a value and what is variable initialization.
Excel 2016 VBA PPT Slide Deck - For Basic to Adavance VBA LearningPrantikMaity6
Title: Mastering Excel VBA 2016
Introduction:
Unlock the full potential of Microsoft Excel with Visual Basic for Applications (VBA) 2016. This PowerPoint presentation is designed to guide you through the fundamentals and advanced techniques of Excel VBA, empowering you to automate tasks, enhance productivity, and unleash the true power of data manipulation.
1. Understanding VBA Basics:
Explore the foundational concepts of VBA programming, including variables, data types, control structures, and procedures. Gain insights into the VBA editor and learn how to write and execute your first macro.
2. Automating Tasks with Macros:
Discover how to record macros to automate repetitive tasks effortlessly. Learn best practices for editing and debugging macros, and customize them to suit your specific needs. Harness the power of macros to streamline your workflow and save valuable time.
3. Working with Objects and Methods:
Delve into the world of objects and methods in Excel VBA. Learn how to manipulate worksheets, ranges, cells, and other Excel objects programmatically. Master essential techniques for navigating through workbooks, formatting data, and performing calculations with precision.
4. Event-Driven Programming:
Unlock the potential of event-driven programming in Excel VBA. Explore how to trigger macros automatically in response to specific user actions or worksheet events. Enhance interactivity and user experience by leveraging event-driven techniques effectively.
5. Advanced Topics in Excel VBA:
Take your VBA skills to the next level with advanced topics such as error handling, user-defined functions (UDFs), and interacting with external data sources. Dive deep into the intricacies of VBA programming and empower yourself to tackle complex challenges with confidence.
6. Practical Applications and Case Studies:
Gain practical insights into real-world applications of Excel VBA through interactive case studies and examples. Learn how leading organizations leverage VBA to automate reporting, analyze data, and drive informed decision-making.
**7. Integrating VBA with Other Office Applications:**
Explore the seamless integration of VBA across the Microsoft Office suite. Learn how to leverage VBA to automate tasks not only in Excel but also in other Office applications such as Word, PowerPoint, Outlook, and Access. Discover how VBA can streamline workflows by enabling data exchange and manipulation between different Office programs, maximizing efficiency and productivity.
**8. Customizing User Interfaces with VBA Forms:**
Dive into the realm of user interface customization with VBA forms. Explore how to design and create user-friendly interfaces using form controls such as buttons, checkboxes, textboxes, and dropdown lists. Learn how to enhance user experience by incorporating interactive elements and guiding users through complex processes, all within the familiar environment of Excel.
An introduction to JavaScript that includes side-by-side comparisons with Python -- for journalism students. Based on the free JavaScript exercises/lessons at Codecademy: http://www.codecademy.com/tracks/javascript (Students in this course spent 4 weeks learning Python before they were introduced to JavaScript.)
Giáo trình Finger Math Nhật từ cơ bản đến chuyên sâu giúp học toán tư duy hoàn toàn mới. Việc tính toán cộng trừ không còn giới hạn trong phạm vi 0-99 nữa. Chương trình toán finger math Nhật được Thạc Sĩ Trần Đình Ngọc – Giám đốc Toán tư duy Super Math Việt Nam bổ sung, mở rộng thêm nhân, chia, khai căn phạm vi hàng nghìn, chục chục nghìn một cách dễ dàng. Học sinh dễ dàng tiếp cận phương pháp này với thời gian đào tạo 3 năm tại Trung Tâm.
Quý thầy/cô là giám đốc trung tâm đang triển khai giảng dạy toán tư duy finger math tại trường mầm non, tại các trung tâm dạy toán tư duy trên toàn quốc muốn tìm bộ giáo trình finger math dạng file pdf chất lượng để có thể tự do in ấn phục vụ cho công việc giảng dạy. Thầy/cô hãy liên hệ Toán Tư Duy Super Math hoặc Zalo Thầy Ngọc theo số 0977.093.688 để tư vấn và hỗ trợ.
Web:https://marketingclick.edu.vn/giao-trinh-finger-math-nhat-tu-co-ban-den-chuyen-sau
Hợp tác chương trình toán tư duy Finger Math Nhật 10 cấp độTrần Đình Ngọc
Toán tư duy Super Math đang triển khai chương trình hợp tác toán tư duy finger math nhật 10 cấp độ từ cơ bản đến chuyên sâu dành cho quý thầy /cô yêu thích mảng toán tư duy, siêu tính nhẩm tại khu vực TPHCM, Bình Dương, Đồng Nai, Nha Trang, Bình Định, Đà Nẵng, Hà Nội, Hải Phòng…
Trung Tâm Toán Tư Duy Super Math Việt Nam
Địa chỉ: 25/H1, Tổ 4, KP1, Trảng Dài, TP Biên Hòa
Điện thoại: 0977.093.688 Zalo Thầy Ngọc
Website: supermath.edu.vn
Tin Học Hoài Ân khai giảng các lớp tin học văn phòng cấp tốc dành cho người đi làm, lớp tin học văn phòng phù hợp cho sinh viên, người đi làm với thời gian học linh hoạt sáng, chiều, tối. Anh/chị có nhu cầu tư vấn khóa học tin học văn phòng tại biên hòa vui lòng liên hệ 0977.093.688 Zalo Thầy Ngọc để tư vấn.
https://www.tinhochoaian.com/2024/01/tin-hoc-van-phong-cap-toc-2024-tai-bien.html
GIAO VIEN DAY TOAN TU DUY SOROBAN ONLINE - 0977.093.688 THAY NGOCTrần Đình Ngọc
ĐÀO TẠO GIÁO VIÊN DẠY TOÁN TƯ DUY TẠI ĐỒNG NAI
Anh/Chị đang làm việc trong lĩnh vực giáo dục muốn tìm hiểu khóa học giáo viên dạy toán tư duy?
Anh chị muốn trở thành giáo viên dạy toán tư duy soroban?
Anh/chị cần tư vấn về lộ trình để trở thành giáo viên dạy soroban, finger math?
Anh/chị muốn mở Trung Tâm dạy toán tư duy khu vực Đồng Nai
Giáo viên dạy toán tư duy
Những yếu tố cần thiết cho giáo viên dạy toán tư duy?
Tốt nghiệp ngành sư phạm, yêu thích giảng dạy
Nhiệt tình, chịu khó, ham học hỏi...
Kiên trì trong giảng dạy với trẻ...
Có chứng chỉ nghiệp vụ sư phạm (ngoài sư phạm)
Đặc biệt: Nhạy bén với các con số trong tính toán...
Điều kiện tham gia khóa học giáo viên dạy toán tư duy
Nam/Nữ có độ tuổi từ 20-28 tuổi
Tốt nghiệp sư phạm hoặc ngoài sư phạm (nghiệp vụ giảng dạy)
Sinh viên mới tốt nghiệp có lợi thế...
Chương trình đào tạo giáo viên dạy toán tư duy
Toán tư duy Finger Math
Toán tư duy Soroban
Các cấp độ đào tạo giáo viên: 8 cấp độ (Cộng trừ, nhân, chia 2,3,4 chữ số trên nhiều dòng...)
Hình thức đào tạo:
Online
OffLine
Học phí: 7.500.000/Khóa
(Giáo trình -phương pháp giảng dạy -bàn tính soroban - Chứng chỉ khóa học)
Kết thúc khóa học giáo viên dạy toán tư duy
Cấp chứng chỉ đào tạo giáo viên toán tư duy- Chứng chỉ do Toán Tư Du Soroban Super Math Việt Nam cấp
Đủ kiến thức, tự tin đứng lớp, đi dạy...
Hỗ trợ giới thiệu việc làm tại Trung Tâm.
https://www.toankieunhat.com/2022/08/ao-tao-giao-vien-day-toan-tu-duy-tai.html
toan tu duy kieu nhat - 0977.093.688 Thay NgocTrần Đình Ngọc
TOÁN TƯ DUY KIỂU NHẬT LÀ GÌ?
Toán tư duy kiểu nhật là chương trình toán tư duy bàn tính soroban đã trở nên phổ biến và thông dụng đối với các nước trên thế giới như Nhật, Trung Quốc, Thái Lan, Malaysia, Indonesia, Hàn Quốc, Mỹ, Úc...Tại Việt Nam, toán tư duy kiểu nhật là chương trình đào tạo dành cho học sinh tiểu học từ 5-12 tuổi. Toán tư duy kiểu nhật giúp trẻ phát triển tư duy toàn diện. (Não phải -não trái).
Chương trình toán tư duy kiểu nhật gồm:
Toán tư duy bàn tay finger math
Toán tư duy bàn tính soroban
Đối tượng tham gia khoá học toán tư duy kiểu nhật:
Toán tư duy bàn tay finger math dành cho học sinh mầm non, tiểu học 5-7 tuổi. Khoá học finger math sẽ giúp học sinh làm quen với các phép toán cộng, trừ các số từ 0-99.
Toán tư duy bàn tính soroban: dành cho học sinh tiểu học có độ tuổi 7-12 tuổi. Khoá học soroban đòi hỏi học sinh có các kỹ năng: quan sát, ghi nhớ, tưởng tượng, và tư duy logic ở cấp độ cao hơn.
Địa chỉ học toán tư duy kiểu nhật ở đâu biên Hoà?
Trung Tâm Toán Tư Duy Super Math
Địa chỉ: 528, Nguyễn Ái Quốc, KP8, Phường Hố Nai, TP Biên Hoà
Điện thoại: 0977.093.688
Website: soroban.edu.vn
Thời gian đào tạo toán tư duy kiểu nhật:
Finger math (4 cấp độ) : 12 tháng
Soroban (10 cấp độ): 36 tháng
Giáo viên giảng dạy toán tư duy kiểu nhật
ThS Trần Đình Ngọc giám đốc đào tạo hệ thống toán tư duy Super Math Việt Nam
20 năm kinh nghiệm giảng dạy CNTT, Toán tư duy kiểu nhật
Biên soạn nhiều chương trình toán tư duy kiểu nhật, toán IQ, phương pháp giảng dạy toán tư duy dành cho giáo viên...
Thông tin tư vấn về chương trình toán tư duy kiểu nhật tại Biên Hoà - Đồng Nai có thể liên hệ 0977.093.688 -Thầy Ngọc để được tư vấn.
Xem them: https://www.toankieunhat.com/2022/08/toan-tu-duy-kieu-nhat-la-gi.html
THIẾT KẾ ĐỒ HỌA TẠI BIÊN HÒA
Bạn đang tìm lớp thiết kế đồ họa tại Biên Hòa?
Tin Học Hoài Ân thường xuyên khai giảng các lớp thiết kế đồ họa corel, Đồ họa photoshop, đồ họa illustrator dành cho người đi làm, sinh viên chuyên ngành thiết kế đồ họa.
Chương trình thiết kế đồ họa tại Trung Tâm
Thiết kế đồ họa Corel: Thiết kế bảng hiệu, logo, Card Visit, Băng rôn, Hộp đèn, Cắt Deccal...
Thiết kế đồ họa Photoshop: Chỉnh sửa ảnh, thiết kế tờ rơi quảng cáo...
Thiết kế đồ họa illustrator: chuyên thiết kế các sản phẩm truyền thông, infographic...
Điều kiện tham gia khóa học thiết kế đồ họa
Đã tham gia khóa học tin học văn phòng cơ bản
Sử dụng máy tính thành thạo
Đối tượng tham gia khóa học:
Sinh viên chuyên ngành đồ họa muốn nâng cao kiến thức
Nhân viên thiết kế quảng cáo...
Thời gian đào tạo các lớp đồ họa tại Biên Hòa
Đồ họa corel cơ bản: 1.5 tháng
Đồ họa photoshop cơ bản: 1.5 tháng
Đồ họa illustrator: 1.5 tháng
Học phí: 1.800.000/khóa
Học thiết kế đồ họa tại biên hòa
Lịch học các lớp thiết kế đồ họa tại Biên Hòa
Ca sáng: 8h30-10h30;
Ca chiều: 15h00-17h00;
Ca tối: 17h00-19h00; 19h00-21h00;
Học viên đăng ký các lớp thiết kế đồ họa tại Biên Hòa có thể chọn ca học phù hợp: Sáng, chiều, tối theo giờ học tại Trung Tâm.
Học thiết kế đồ họa biên hòa ở đâu?
Trung Tâm Tin Học Hoài Ân
Địa chỉ: 528, Nguyễn Ái Quốc, Kp8, Phường Hố Nai, TP Biên Hòa
Điện thoại: 0977.093.688
Website: tinhochoaian.com
lap trinh vba excel tu co ban den nang caoTrần Đình Ngọc
LẬP TRÌNH VBA EXCEL TỪ CƠ BẢN ĐẾN NÂNG CAO
Lập trình vba excel là gì?
VBA Excel là viết tắc của từ Visual Basic for applications ms excel. vba excel là khóa học giúp bạn lập trình các công việc thường làm trên excel một cách tự động hóa như thống kê, trích lọc dữ liệu, tạo lập biểu đồ, tra cứu... VBA excel giúp bạn quản lý công việc trên excel nhanh chóng, hiệu quả chỉ bằng một cái click chuột.
Đối tượng tham gia khóa học vba excel tại biên hòa:
• Nhân viên văn phòng;
• Nhân viên quản lý kho, quản lý hàng hóa;
• Nhân viên kế toán...
Yêu cầu khi tham gia khóa học vba excel tại biên hòa:
• Có laptop;
• Sử dụng thành thạo excel cơ bản;
Nội dung khóa học vba excel tại Biên Hòa
• Tìm hiểu về Macro trong Excel;
• Tạo lập một số macro ứng dụng trong thống kê, lọc dữ liệu, tạo biểu đồ...;
• Tìm hiểu về vba excel;
• Tìm hiểu về một số cấu trúc trong ngôn ngữ lập trình vba Excel;
• Viết các hàm cơ bản trong vba excel: Hàm Sum, Hàm Vlookup, Hlookup...Các hàm do người dùng tự định nghĩa: TNCN, hàm tính toán...;
• Lập trình ứng dụng: Lọc dữ liệu, tra cứu, tổng hợp, phân tích dữ liệu trên excel thông qua dự án thực tế...;
Lịch khai giảng: 16/04/2022
• Học sáng thứ 7, Chủ nhật
• Buổi Sáng: 8h00-19h30;
Thời gian - học phí khóa học vba excel tại biên hòa:
• Thời gian đào tạo: 16 buổi;
• Học phí: 2.800.000/khóa;
Chứng nhận khóa học vba excel:
• Cấp chứng nhận lập trình vba excel cho học viên hoàn thành khóa học tại Trung Tâm;
• Chứng nhận vba excel do Tin Học Hoài Ân cấp;
Thông tin giáo viên giảng dạy vba excel tại biên hòa
• ThS Trần Đình Ngọc giám đốc Trung Tâm Tin Học Hoài Ân gần 20 năm kinh nghiệm giảng dạy tin học tại doanh nghiệp, 10 năm giảng dạy VBA Excel tại Biên Hòa;
• Chương trình giảng dạy vba excel thực tế trên dự án của học viên;
• Học xong lập trình vba excel giúp học viên giải quyết nhanh các bài toán, công việc liên quan đến excel tại doanh nghiệp;
• Hỗ trợ,giải đáp mọi thắc mắc liên quan đến khóa học vba excel tại khóa học...
Thông tin đăng ký khóa học vba excel tại biên hòa:
• Trung Tâm Tin Học Hoài Ân
• Địa chỉ: 528, Nguyễn Ái quốc, Kp8, Phường Hố Nai, Biên Hòa
• Điện thoại: 0977.093.688
• Website: tinhoccaptoc.com
CHƯƠNG TRÌNH ĐÀO TẠO TOÁN TƯ DUY SOROBAN ONLINE TẠI HÀ NỘI
Bạn muốn trở thành giáo viên dạy toán tư duy soroban tại Hà Nội? Bạn muốn mở Trung Tâm toán tư duy khu vực Quận Hoàng Mai, Hoàng Kiếm Hà Nội nhưng chưa biết thủ tục thế nào? Bạn cần có chứng nhận đào tạo giáo viên dạy toán tư duy? Bạn muốn nhượng quyền chương trình toán tư duy finger math -soroban? Hãy liên hệ ngay 0977.093.688 Thầy Ngọc để được tư vấn.
Quý thầy cô đang quan tâm:
Khóa đào tạo giáo viên soroban tại Hà Nội
Khóa đào tạo giáo viên soroban tại TPHCM
Khóa đào tạo giáo viên soroban tại Bình Dương
Khóa đào tạo giáo viên soroban tại Bình Phước
Chương trình đào tạo giáo viên dạy toán soroban tại Hà Nội?
Toán soroban là chương trình rất được nhiều phụ huynh trên cả nước nói chung, phụ huynh tại Hà Nội nói riêng rất quan tâm. Nhiều bậc phụ huynh mong muốn rèn luyện cho con em mình khả năng tính nhẩm siêu tốc thông qua khóa học toán tư duy soroban? Toán soroban giúp cải thiện khả năng tính toán,rèn luyện tính tập trung của trẻ, tư duy logic, tư duy về hình ảnh thông qua kết hợp thao tác tay phải và tay trái của trẻ. Từ đó phát triển cân bằng não bộ của con, Giúp con phát triển toàn diện và vượt trội hơn các bạn cùng tuổi.
Khóa học giáo viên dạy toán soroban gồm 8 cấp độ từ cơ bản -đến nâng cao:
Cấp độ 1: Giáo viên làm quen với bàn tính, cấu tạo bảng tính và cách biểu diễn các con số trên bàn tính, các phép toán cộng trừ không bù, có bù 5;
Cấp độ 2: cộng trừ có bù 10 với 20 công thức từ mức độ dễ đến khó;
Cấp độ 3: Ôn tập cộng trừ số có 2,3 chữ số trên nhiều hàng, phương pháp rèn luyện ảo tính cho học sinh;
Cấp độ 4: Tư duy về phép nhân trên bảng cửu chương,phép nhân trên bàn tính soroban;
Cấp độ 5: Tư duy về phép chia, phép chia trên bàn tính soroban;
Cấp độ 6: Ôn tập về phép nhân, chia trên bàn tính soroban từ 2 dòng đến nhiều dòng; Cộng trừ, nhân, chia số thập phân...
Cấp độ 7-8: Phương pháp ảo tính nhân, chia trên bàn tính, khai căn bậc 2,3 trên bàn tính...
Học phí: 4.500.000/khóa
Giáo viên đăng ký khóa học giáo viên soroban sẽ được tặng kèm:
- Tặng bộ giáo trình soroban;
- Tặng tài liệu phương pháp giảng dạy toán soroban dành cho giáo viên;
- Tặng bàn tính soroban;
- Ưu đãi khi khi đăng ký kèm với khóa học Finger Math;
Chứng nhận/chứng chỉ sau khóa học:
- Giáo viên hoàn thành khóa đào tạo sẽ được cấp chứng nhận dành cho giáo viên giảng dạy toán tư duy soroban;
- Chứng nhận do Toán tư duy Soroban Super Math Việt Nam cấp;
- Thời gian cấp chứng nhận: 3- 7 ngày sau khi khóa học kết thúc;
Đăng ký học toán tư duy soroban online tại Hà Nội
Trung Tâm Toán Tư Duy Super Math Việt Nam
Địa chỉ: 25/H1, KP1, Phường Trảng Dài, TP Biên Hòa
Điện thoại: 0977.093.688
Website: soroban.edu.vn
CHƯƠNG TRÌNH EXCEL NÂNG CAO TẠI DOANH NGHIỆP
Nhân viên tại doanh nghiệp đang gặp vấn đề khó khăn trong Excel?
Nhân viên văn phòng gặp khó khăn khi làm việc trên Excel?
Nhân viên chưa thành thạo Excel trong quá trình xử lý, tổng hợp kết quả hoạt động kinh doanh của doanh nghiệp?
Nhân viên xử lý excel chậm chạp làm ảnh hưởng đến hoạt động phát triển của doanh nghiệp.
Nhân viên chưa cải thiện hiệu suất làm việc trên Excel?
Giải pháp nào giúp nhân viên xử lý các công việc liên quan đến Excel một cách nhanh chóng, chuyên nghiệp?
Đào tạo nhân viên văn phòng các kỹ năng thống kê, tổng hợp dữ liệu một cách nhanh chóng thông qua các thao tác nhỏ (Click chuột) quá trình xử lý một cách tự động.
Đào tạo nhân viên các hàm nâng cao, công cụ phân tích dữ liệu giúp nhân viên làm việc hiệu quả và tăng năng suất công việc nhanh chóng...
Tự động hoá các công việc trên excel có tính chất lặp đi, lặp lại: Thống kê, báo cáo, tổng hợp kết quả kinh doanh, doanh số bán hàng...
Tin Học Hoài Ân là Trung Tâm đào tạo excel doanh nghiệp hàng đầu tại Đồng Nai. Tin Học Hoài Ân thành lập từ 2009 đến nay trải qua 14 năm hình thành và phát triển đã đào tạo cho hàng nghìn sinh viên, nhân viên văn phòng, học sinh. Các doanh nghiệp tại Biên Hoà Đồng Nai lựa chọn Trung Tâm Hoài Ân là đối tác, trung tâm đào tạo cho nhân viên để nâng cao kỹ năng tin học, kỹ năng sử dụng excel...
Quý doanh nghiệp tại Đồng Nai có nhu cầu đào tạo excel tại doanh nghiệp có thể liên hệ 0977.093.688 -Thầy Ngọc để được tư vấn.
Đào tạo excel tại doanh nghiệp
Nội dung đào tạo Excel nâng cao tại doanh nghiệp
Thời gian đào tạo:12 buổi
Mỗi buổi học: 120 phút
Chuyên đề 1: Định dạng dữ liệu theo điều kiện nâng cao
Chuyên đề 2: Kỹ thuật phối hợp Validation, Conditional Formatting và công
thức. Sử dụng Table, Data Form để nhập liệu.
Chuyên đề 3: Kỹ thuật lồng ghép lập công thức, xử lý công thức rẽ nhánh phức
tạp, phân tích tống độ của công thức, tối ưu công thức và ứng dụng các hàm
quan trọng trong Excel. (Tính thuế TNCN)
Chuyên đề 4: Kỹ thuật lập công thức mảng - Phép tính có nhiều điều kiện phức
tạp.
Chuyên đề 5: Tạo báo cáo chi tiết, báo cáo tổng hợp với kỹ thuật hàm Offset
Chuyên đề 6: Tổ chức CSDL quan hệ. Kỹ thuật nâng cao về trích lọc dữ liệu
nhiều điều kiện.
Chuyên đề 7: Kỹ thuật lập công thức tìm kiếm, Tra cứu dữ liệu nâng cao trong
Excel.
Chuyên đề 8: Kỹ thuật Pivot Table. Ứng dụng các công cụ phân tích dữ liệu.
Chuyên đề 9: Tạo biểu đồ động tương tác trong excel
Chuyên đề 10: Tạo Macro. Tự tạo ra hàm riêng trong Excel.
Hàm tính thuế TNCN
Hàm tính tiền điện, nước
Hàm do người dùng tự định nghĩa...
Thông tin về giáo viên giảng dạy Excel tại doanh nghiệp
Thông tin giáo Viên giảng dạy:
Thạc Sĩ Trần Đình Ngọc – Giám đốc Trung Tâm Tin Học Hoài Ân
Thầy Ngọc với kinh nghiệm 20 năm giảng dạy tin học văn phòng, Excel
cơ bản – nâng cao tại doanh nghiệp.
Thông tin về Trung Tâm Tin Học Hoài Ân:
Trung Tâm Tin Học Hoài Ân
Địa chỉ: 528, Nguyễn Ái Quốc,Kp8, Phường Hố Nai, Biên Hòa
Điện thoại: 0977.093.688
KHOÁ ĐÀO TẠO GIÁO VIÊN DẠY TOÁN TƯ DUY ONLINE
Toán tư duy soroban là phương pháp luyện tính nhẩm nổi tiếng từ Nhật Bản dành cho học sinh có độ tuổi từ 6-12 tuổi, Toán bàn tính soroban đã được giảng dạy nhiều quốc gia trên thế giới trong đó có Việt Nam. Toán tư duy Soroban giúp học sinh khả năng tập trung, ghi nhớ, tính toán, tưởng tượng thông qua các hoạt động gảy hạt trên bàn tính. Nhiều phụ huynh mong muốn cho con em mình đạt được những kỹ năng tính nhẩm nhanh các phép toán cộng, trừ, nhân chia một cách nhanh chóng. Do đó việc đào tạo giáo viên dạy toán soroban theo phương pháp Nhật Bản sẽ giúp cho hàng triệu trẻ em Việt Nam tiếp cận phương pháp nhẩm chính thống từ soroban nhật bản.
Đào tạo giáo viên dạy toán soroban ở đâu uy tín?
Hiện nay rất nhiều giáo viên, trung tâm mở lớp đào tạo toán tư duy online dành cho giáo viên, do đó anh/chị cần tìm hiểu kỹ các thông tin về chương trình đào tạo, phương pháp giảng dạy, giáo trình, chứng chỉ sau khoá học...để tránh bị lừa đảo.
Toán Tư Duy Soroban Super Math Việt Nam với sứ mạng đào tạo hàng nghìn giáo viên dạy toán tư duy trên khắp mọi miền đất nước, giúp cho các em học sinh phương pháp rèn luyện tính nhẩm tốt nhất. Trung Tâm Super Math khai giảng các lớp toán tư duy online như sau:
Toán tư duy bàn tay finger math
Toán tư duy bàn tính soroban
Thời gian đào tạo giáo viên dạy toán tư duy:
Lớp Finger math: 3 buổi
Lớp Soroban: 5 Buổi
Ôn tập và dạy thử: 1 buổi
Học phí: 7.500.000/Khoá (Sách- bàn tính -chứng chỉ)
Đội ngũ giáo viên:
ThS Trần Đình Ngọc giám đốc hệ thống đào tạo toán tư duy Super Math Việt Nam
20 năm kinh nghiệm giảng dạy CNTT, Toán Tư Duy khu vực Miền Nam
Hỗ trợ cho giáo viên sau khoá đào tạo
Tư vấn, hỗ trợ về giáo trình, phương pháp giảng dạy toán tư duy
Đối tượng tham gia khoá đào tạo:
Giáo viên mầm non, Tiểu học
Giáo viên các ngành khác muốn chuyển sang dạy toán tư duy
Ngoài sư phạm muốn dạy toán tư duy...
Chứng chỉ sau khoá học:
Giáo viên hoàn thành chương trình đào tạo sẽ được cấp chứng chỉ.
Chứng chỉ: Do Toán Tư Duy Soroban Super Math Việt Nam cấp
Trung Tâm Tin Học Hoài Ân thông báo lịch thi chứng chỉ ứng dụng công nghệ thông tin cơ bản -nâng cao dành cho sinh viên các trường đại học -cao đẳng tại Đồng Nai, Bình Dương, TPHCM có nhu cầu xét tốt nghiệp, xin việc, bổ sung hồ sơ xin việc tại cơ quan nhà nước...
https://www.tinhochoaian.com/2022/10/lich-thi-chung-chi-tin-hoc-thang-12-2022.html
Toán tư duy Super Math Việt Nam khai giảng các lớp toán tư duy finger math và soroban tại Biên Hoà
- Học phí: 2.100.000/cấp độ
- Sách: 50.000 Cuốn
- Bàn tính: 80.000 /cái
Địa chỉ: 528, Nguyễn Ái Quốc, Kp8, Phường Hố Nai
Điện thoại: 0977.093.688
Website: soroban.edu.vn
Trung Tâm Toán Tư Duy Super Math Việt Nam
Giáo trình giảng dạy toán tư duy soroban cấp độ 1 dành cho giáo viên
Liên hệ 0977093.688 Thầy Ngọc
Website: soroban.edu.vn
Chia sẻ tài liệu bộ giáo trình soroban pdf:https://www.sorobanpdf.online/
Giáo trình học toán tư duy soroban dành cho học sinh 6-12 tuổi của Trung Tâm Soroban Super Math Việt Nam. Tài liệu thực hành toán soroban dành cho học sinh.
Nếu quý Thầy/Cô có nhu cầu muốn nhượng quyền chương trình toán tư duy finger math, Soroban có thể liên hệ:
Trung Tâm Toán Tư Duy Soroban Super Math Việt Nam
Địa chỉ: 25/H1, Hẻm 1030, Nguyễn Ái Quốc, Kp1 Trảng Dài, TP Biên Hoà, Đồng Nai
Hotline: 0977.093.688
Website: https://www.nhuongquyensoroban.com/
https://www.sorobansupermath.edu.vn/
https://www.sorobansupermath.com/
Giáo trình toán tư duy finger math của Soroban Super Math Việt NamTrần Đình Ngọc
Giáo trình học toán tư duy finger math dành cho học sinh 4-6 tuổi của Trung Tâm Soroban Super Math Việt Nam. Tài liệu thực hành toán finger math dành cho học sinh.
Nếu quý Thầy/Cô có nhu cầu muốn nhượng quyền chương trình toán tư duy finger math, Soroban có thể liên hệ:
Trung Tâm Toán Tư Duy Soroban Super Math Việt Nam
Địa chỉ: 25/H1, Hẻm 1030, Nguyễn Ái Quốc, Kp1 Trảng Dài, TP Biên Hoà, Đồng Nai
Hotline: 0977.093.688
Website: https://www.nhuongquyensoroban.com/
https://www.sorobansupermath.edu.vn/
https://www.sorobansupermath.com/
Khai giảng các lớp tin học văn phòng tại biên hòaTrần Đình Ngọc
Trung Tâm Tin Học Hoài Ân khai giảng các lớp tin học văn phòng, thiết kế đồ họa, chứng chỉ ứng dụng công nghệ thông tin, lập trình scratch, tin học thiếu nhi
Website:tinhochoaian.com
Ly thuyet on thi chung chi cntt co ban theo thong tu 03- Modul04Trần Đình Ngọc
Lý thuyết ôn thi chứng chỉ ứng dụng công nghệ thông tin cơ bản theo thông tư 03 của Bộ Giáo Dục
Đăng ký thi chứng chỉ ứng dụng cntt cơ bản tại Trung Tâm Tin Học Hoài Ân -Biên Hoà Đồng Nai
Website: blogtinhocvanphong.com
Ly thuyet on thi chung chi cntt co ban-Modul 03Trần Đình Ngọc
Lý thuyết ôn thi chứng chỉ ứng dụng công nghệ thông tin cơ bản theo thông tư 03 của Bộ Giáo Dục
Liên hệ Trung Tâm Tin Học Hoài Ân
Website: blogtinhocvanphong.com
Ly thuyet on thi chung chi tin hoc co ban -modul 02Trần Đình Ngọc
Lý thuyết ôn thi chứng chỉ ứng dụng công nghệ thông tin cơ bản theo thông tư o3 của bộ giáo dục
Thông tin liên hệ Trung Tâm Tin Học Hoài Ân
Website: blogtinhocvanphong.com
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
This slide is special for master students (MIBS & MIFB) in UUM. Also useful for readers who are interested in the topic of contemporary Islamic banking.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Normal Labour/ Stages of Labour/ Mechanism of LabourWasim Ak
Normal labor is also termed spontaneous labor, defined as the natural physiological process through which the fetus, placenta, and membranes are expelled from the uterus through the birth canal at term (37 to 42 weeks
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
1. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
1 Biên Soạn: Ths Trần Đình Ngọc
LẬP TRÌNH VBA CƠ BẢN
1. Add Serial Numbers
Sub AddSerialNumbers()
Dim i As Integer
On Error GoTo Last
i = InputBox("Enter Value", "Enter Serial Numbers")
For i = 1 To i
ActiveCell.Value = i
ActiveCell.Offset(1, 0).Activate
Next i
Last:Exit Sub
End Sub
2. Insert Multiple Columns
Sub InsertMultipleColumns()
Dim i As Integer
Dim j As Integer
ActiveCell.EntireColumn.Select
On Error GoTo Last
i = InputBox("Enter number of columns to insert", "Insert Columns")
For j = 1 To i
Selection.Insert Shift:=xlToRight,
CopyOrigin:=xlFormatFromRightorAbove
Next j
Last:Exit Sub
End Sub
3. Insert Multiple Rows
Sub InsertMultipleRows()
Dim i As Integer
Dim j As Integer
ActiveCell.EntireRow.Select
On Error GoTo Last
2. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
2 Biên Soạn: Ths Trần Đình Ngọc
i = InputBox("Enter number of columns to insert", "Insert Columns")
For j = 1 To i
Selection.Insert Shift:=xlToDown,
CopyOrigin:=xlFormatFromRightorAbove
Next j
Last:Exit Sub
End Sub
4. Auto Fit Columns
Quickly auto fit all the columns in your worksheet.
This macro code will select all the cells in your worksheet and instantly
auto-fit all the columns.
Sub AutoFitColumns()
Cells.Select
Cells.EntireColumn.AutoFit
End Sub
5. Auto Fit Rows
Sub AutoFitRows()
Cells.Select
Cells.EntireRow.AutoFit
End Sub
6. Remove Text Wrap
Sub RemoveWrapText()
Cells.Select
Selection.WrapText = False
Cells.EntireRow.AutoFit
Cells.EntireColumn.AutoFit
End Sub
3. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
3 Biên Soạn: Ths Trần Đình Ngọc
7. Unmerge Cells
Sub UnmergeCells()
Selection.UnMerge
End Sub
8. Open Calculator
Sub OpenCalculator()
Application.ActivateMicrosoftApp Index:=0
End Sub
9. Add Header/Footer Date
Sub dateInHeader()
With ActiveSheet.PageSetup
.LeftHeader = ""
.CenterHeader = "&D"
.RightHeader = ""
.LeftFooter = ""
.CenterFooter = ""
.RightFooter = ""
End With
ActiveWindow.View = xlNormalView
End Sub
10.Custom Header/Footer
Sub customHeader()
Dim myText As Stringmy
Text = InputBox("Enter your text here", "Enter Text")
With ActiveSheet.PageSetup
.LeftHeader = ""
.CenterHeader = myText
.RightHeader = ""
.LeftFooter = ""
.CenterFooter = ""
4. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
4 Biên Soạn: Ths Trần Đình Ngọc
.RightFooter = ""
End With
Formatting Codes
11.Highlight Duplicates from Selection
Sub HighlightDuplicateValues()
Dim myRange As Range
Dim myCell As Range
Set myRange = Selection
For Each myCell In myRange
If WorksheetFunction.CountIf(myRange, myCell.Value) > 1 Then
myCell.Interior.ColorIndex = 36
End If
Next myCell
End Sub
12.Highlight the Active Row and Column
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range,
Cancel As Boolean)
Dim strRange As String
strRange = Target.Cells.Address & "," & _
Target.Cells.EntireColumn.Address & "," & _
Target.Cells.EntireRow.Address
Range(strRange).Select
End Sub
13.Highlight Top 10 Values
Sub TopTen()
Selection.FormatConditions.AddTop10
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirst
Priority
With Selection.FormatConditions(1)
.TopBottom = xlTop10Top
.Rank = 10
.Percent = False
End With
With Selection.FormatConditions(1).Font
5. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
5 Biên Soạn: Ths Trần Đình Ngọc
.Color = -16752384
.TintAndShade = 0
End With
With Selection.FormatConditions(1).Interior
.PatternColorIndex = xlAutomatic
.Color = 13561798
.TintAndShade = 0
End With
Selection.FormatConditions(1).StopIfTrue = False
End Sub
14.Highlight Named Ranges
Sub HighlightRanges()
Dim RangeName As Name
Dim HighlightRange As Range
On Error Resume Next
For Each RangeName In ActiveWorkbook.Names
Set HighlightRange = RangeName.RefersToRange
HighlightRange.Interior.ColorIndex = 36
Next RangeName
End Sub
15.Highlight Greater than Values
Sub HighlightGreaterThanValues()
Dim i As Integer
i = InputBox("Enter Greater Than Value", "Enter Value")
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlCellValue,
Operator:=xlGreater, Formula1:=i
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirst
Priority
With Selection.FormatConditions(1)
.Font.Color = RGB(0, 0, 0)
.Interior.Color = RGB(31, 218, 154)
End With
End Sub
16.Highlight Lower Than Values
Sub HighlightLowerThanValues()
Dim i As Integer
i = InputBox("Enter Lower Than Value", "Enter Value")
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlCellValue,
6. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
6 Biên Soạn: Ths Trần Đình Ngọc
Operator:=xlLower, Formula1:=i
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirst
Priority
With Selection.FormatConditions(1)
.Font.Color = RGB(0, 0, 0)
.Interior.Color = RGB(217, 83, 79)
End With
End Sub
17.Highlight Negative Numbers
Sub highlightNegativeNumbers()
Dim Rng As Range
For Each Rng In Selection
If WorksheetFunction.IsNumber(Rng) Then
If Rng.Value < 0 Then
Rng.Font.Color= -16776961
End If
End If
Next
End Sub
18.Highlight Specific Text
Sub highlightValue()
Dim myStr As String
Dim myRg As Range
Dim myTxt As String
Dim myCell As Range
Dim myChar As String
Dim I As Long
Dim J As Long
On Error Resume Next
If ActiveWindow.RangeSelection.Count> 1 Then
myTxt= ActiveWindow.RangeSelection.AddressLocal
Else
myTxt= ActiveSheet.UsedRange.AddressLocal
End If
LInput: Set myRg= Application.InputBox("please select the data range:",
"Selection Required", myTxt, , , , , 8)
If myRg Is Nothing Then
Exit Sub
If myRg.Areas.Count > 1 Then
MsgBox"not support multiple columns" GoToLInput
End If
7. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
7 Biên Soạn: Ths Trần Đình Ngọc
If myRg.Columns.Count <> 2 Then
MsgBox"the selected range can only contain two columns "
GoTo LInput
End If
For I = 0 To myRg.Rows.Count-1
myStr= myRg.Range("B1").Offset(I, 0).Value
With myRg.Range("A1").Offset(I, 0)
.Font.ColorIndex= 1
For J = 1 To Len(.Text)
Mid(.Text, J, Len(myStr)) = myStrThen
.Characters(J, Len(myStr)).Font.ColorIndex= 3
Next
End With
Next I
End Sub
19.Highlight Cells with Comments
Sub highlightCommentCells()
Selection.SpecialCells(xlCellTypeComments).Select
Selection.Style= "Note"
End Sub
20.Highlight Alternate Rows in the Selection
Sub highlightAlternateRows()
Dim rng As Range
For Each rng In Selection.Rows
If rng.RowMod 2 = 1 Then
rng.Style= "20% -Accent1"
rng.Value= rng^ (1 / 3)
Else
End If
Next rng
End Sub
21.Highlight Cells with Misspelled Words
Sub HighlightMisspelledCells()
Dim rng As Range
For Each rng In ActiveSheet.UsedRange
If Not Application.CheckSpelling(word:=rng.Text) Then
rng.Style= "Bad" End If
Next rng
End Sub
8. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
8 Biên Soạn: Ths Trần Đình Ngọc
22.Count/Highlight Cells With Error in the Entire Worksheet
Sub highlightErrors()
Dim rng As Range
Dim i As Integer
For Each rng In ActiveSheet.UsedRange
If WorksheetFunction.IsError(rng) Then
i = i + 1 rng.Style = "bad"
End If
Next rng
MsgBox "There are total " & i & " error(s) in this worksheet."
End Sub
23.Count/Highlight Cells With A Specific In Entire Worksheet
Sub highlightSpecificValues()
Dim rng As Range
Dim i As Integer
Dim c As Variant
c = InputBox("Enter Value To Highlight")
For Each rng In ActiveSheet.UsedRange
If rng = c Then
rng.Style = "Note"
i = i + 1
End If
Next rng
MsgBox "There are total " & i &" "& c & " in this worksheet."
End Sub
24.Highlight all the Cells in a Worksheet which are Blank but have an
Invisible Space
Sub blankWithSpace()
Dim rng As Range
For Each rng In ActiveSheet.UsedRange
If rng.Value = " " Then
rng.Style = "Note"
End If
Next rng
End Sub
25.Highlight Max Value In The Range
Sub highlightMaxValue()
Dim rng As Range
For Each rng In Selection
If rng = WorksheetFunction.Max(Selection) Then
9. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
9 Biên Soạn: Ths Trần Đình Ngọc
rng.Style = "Good"
End If
Next rng
End Sub
26.Highlight Min Value In The Range
Sub highlightMinValue()
Dim rng As Range
For Each rng In Selection
If rng = WorksheetFunction.Min(Selection) Then
rng.Style = "Good"
End If
Next rng
End Sub
27.Highlight Unique Values
Sub highlightUniqueValues()
Dim rng As Range
Set rng = Selection
rng.FormatConditions.Delete
Dim uv As UniqueValues
Set uv = rng.FormatConditions.AddUniqueValues
uv.DupeUnique = xlUnique
uv.Interior.Color = vbGreen
End Sub
28.Highlight Difference in Columns
Sub columnDifference()
Range("H7:H8,I7:I8").Select
Selection.ColumnDifferences(ActiveCell).Select
Selection.Style= "Bad"
End Sub
29.Highlight Difference in Rows
Sub rowDifference()
Range("H7:H8,I7:I8").Select
Selection.RowDifferences(ActiveCell).Select
Selection.Style= "Bad"
End Sub
Printing Codes
30.Print Comments
10. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
10 Biên Soạn: Ths Trần Đình Ngọc
Sub printComments()
With ActiveSheet.PageSetup
.printComments= xlPrintSheetEnd
End With
End Sub
31.Print Narrow Margin
Sub printNarrowMargin()
With ActiveSheet.PageSetup
.LeftMargin= Application
.InchesToPoints(0.25)
.RightMargin= Application.InchesToPoints(0.25)
.TopMargin= Application.InchesToPoints(0.75)
.BottomMargin= Application.InchesToPoints(0.75)
.HeaderMargin= Application.InchesToPoints(0.3)
.FooterMargin= Application.InchesToPoints(0.3)
End With
ActiveWindow.SelectedSheets.PrintOutCopies:=1, Collate:=True,
IgnorePrintAreas:=False
End Sub
32.Print Selection
Sub printSelection()
Selection.PrintOutCopies:=1, Collate:=True
End Sub
33.Print Custom Pages
Sub printCustomSelection()
Dim startpageAs Integer
11. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
11 Biên Soạn: Ths Trần Đình Ngọc
Dim endpageAs Integer
startpage= InputBox("Please Enter Start Page number.", "Enter Value")
If Not WorksheetFunction.IsNumber(startpage) Then
MsgBox"Invalid Start Page number. Please try again.", "Error"
Exit Sub
End If
endpage= InputBox("Please Enter End Page number.", "Enter Value")
If Not WorksheetFunction.IsNumber(endpage) Then
MsgBox"Invalid End Page number. Please try again.", "Error"
Exit Sub
End If
Selection.PrintOutFrom:=startpage, To:=endpage, Copies:=1,
Collate:=True
End Sub
Worksheet Codes
These macro codes will help you to control and manage worksheets in an easy
way and save your a lot of time.
34.Hide all but the Active Worksheet
Sub HideWorksheet()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
If ws.Name <> ThisWorkbook.ActiveSheet.Name Then
ws.Visible = xlSheetHidden
End If
Next ws
End Sub
35.Unhide all Hidden Worksheets
Sub UnhideAllWorksheet()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.Visible = xlSheetVisible
Next ws
End Sub
36.Delete all but the Active Worksheet
Sub DeleteWorksheets()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
If ws.name <> ThisWorkbook.ActiveSheet.name Then
12. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
12 Biên Soạn: Ths Trần Đình Ngọc
Application.DisplayAlerts = False
ws.Delete
Application.DisplayAlerts = True
End If
Next ws
End Sub
37.Protect all Worksheets Instantly
Sub ProtectAllWorskeets()
Dim ws As Worksheet
Dim ps As String
ps = InputBox("Enter a Password.", vbOKCancel)
For Each ws In ActiveWorkbook.Worksheets
ws.Protect Password:=ps
Next ws
End Sub
38.Resize All Charts in a Worksheet
Sub Resize_Charts()
Dim i As Integer
For i = 1 To ActiveSheet.ChartObjects.Count
With ActiveSheet.ChartObjects(i)
.Width = 300
.Height = 200
End With
Next i
End Sub
39.Insert Multiple Worksheets
Sub InsertMultipleSheets()
Dim i As Integer
i = InputBox("Enter number of sheets to insert.", "Enter Multiple Sheets")
Sheets.Add After:=ActiveSheet, Count:=i
End Sub
40.Protect Worksheet
Sub ProtectWS()
ActiveSheet.Protect "mypassword", True, True
End Sub
41.Un-Protect Worksheet
13. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
13 Biên Soạn: Ths Trần Đình Ngọc
Sub UnprotectWS()
ActiveSheet.Unprotect "mypassword"
End Sub
42.Sort Worksheets
Sub SortWorksheets()
Dim i As Integer
Dim j As Integer
Dim iAnswer As VbMsgBoxResult
iAnswer = MsgBox("Sort Sheets in Ascending Order?" & Chr(10) _
& "Clicking No will sort in Descending Order", _
vbYesNoCancel + vbQuestion + vbDefaultButton1, "Sort Worksheets")
For i = 1 To Sheets.Count
For j = 1 To Sheets.Count - 1
If iAnswer = vbYes Then
If UCase$(Sheets(j).Name) > UCase$(Sheets(j + 1).Name) Then
Sheets(j).Move After:=Sheets(j + 1)
End If
ElseIf iAnswer = vbNo Then
If UCase$(Sheets(j).Name) < UCase$(Sheets(j + 1).Name) Then
Sheets(j).Move After:=Sheets(j + 1)
End If
End If
Next j
Next i
End Sub
43.Protect all the Cells With Formulas
Sub lockCellsWithFormulas()
With ActiveSheet
.Unprotect
.Cells.Locked = False
.Cells.SpecialCells(xlCellTypeFormulas).Locked = True
.Protect AllowDeletingRows:=True
End With
End Sub
44.Delete all Blank Worksheets
Sub deleteBlankWorksheets()
Dim Ws As Worksheet
On Error Resume Next
14. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
14 Biên Soạn: Ths Trần Đình Ngọc
Application.ScreenUpdating= False
Application.DisplayAlerts= False
For Each Ws In Application.Worksheets
If Application.WorksheetFunction.CountA(Ws.UsedRange) = 0 Then
Ws.Delete
End If
Next
Application.ScreenUpdating= True
Application.DisplayAlerts= True
End Sub
45.Unhide all Rows and Columns
Sub UnhideRowsColumns()
Columns.EntireColumn.Hidden = False
Rows.EntireRow.Hidden = False
End Sub
46.Save Each Worksheet as a Single PDF
Sub SaveWorkshetAsPDF()
Dimws As Worksheet
For Each ws In Worksheetsws.ExportAsFixedFormat xlTypePDF,
“ENTER-FOLDER-NAME-HERE" & ws.Name & ".pdf" Nextws
End Sub
47.Disable Page Breaks
Sub DisablePageBreaks()
Dim wbAs Workbook
Dim wksAs Worksheet
Application.ScreenUpdating= False
For Each wbIn Application.Workbooks
For Each ShtIn wb.WorksheetsSht.DisplayPageBreaks= False
Next Sht
Next wb
Application.ScreenUpdating= True
End Sub
Workbook Codes
These codes will help you to perform workbook level tasks in an easy way and
with minimum efforts.
48.Create a Backup of a Current Workbook
15. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
15 Biên Soạn: Ths Trần Đình Ngọc
Sub FileBackUp()
ThisWorkbook.SaveCopyAs Filename:=ThisWorkbook.Path & _
"" & Format(Date, "mm-dd-yy") & " " & _
ThisWorkbook.name
End Sub
49.Close all Workbooks at Once
Sub CloseAllWorkbooks()
Dim wbs As Workbook
For Each wbs In Workbooks
wbs.Close SaveChanges:=True
Next wb
End Sub
50.Copy Active Worksheet into a New Workbook
Sub CopyWorksheetToNewWorkbook()
ThisWorkbook.ActiveSheet.Copy _
Before:=Workbooks.Add.Worksheets(1)
End Sub
51.Active Workbook in an Email
Sub Send_Mail()
Dim OutApp As Object
Dim OutMail As Object
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(0)
With OutMail
.to = "Sales@FrontLinePaper.com"
.Subject = "Growth Report"
.Body = "Hello Team, Please find attached Growth Report."
.Attachments.Add ActiveWorkbook.FullName
.display
End With
Set OutMail = Nothing
Set OutApp = Nothing
End Sub
52.Add Workbook to a Mail Attachment
Sub OpenWorkbookAsAttachment()
Application.Dialogs(xlDialogSendMail).Show
End Sub
53.Welcome Message
16. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
16 Biên Soạn: Ths Trần Đình Ngọc
Sub auto_open()
MsgBox "Welcome To ExcelChamps & Thanks for downloading this
file."
End Sub
54.Closing Message
Sub auto_close()
MsgBox "Bye Bye! Don't forget to check other cool stuff on
excelchamps.com"
End Sub
55.Count Open Unsaved Workbooks
Sub VisibleWorkbooks()
Dim book As Workbook
Dim i As Integer
For Each book In Workbooks
If book.Saved = False Then
i = i + 1
End If
Next book
MsgBox i
End Sub
Pivot Table Codes
These codes will help you to manage and make some changes in pivot tables in
a flash.
56.Hide Pivot Table Subtotals
Sub HideSubtotals()
Dim pt As PivotTable
Dim pf As PivotField
On Error Resume Next
Set pt = ActiveSheet.PivotTables(ActiveCell.PivotTable.name)
If pt Is Nothing Then
MsgBox "You must place your cursor inside of a PivotTable."
Exit Sub
End If
For Each pf In pt.PivotFields
pf.Subtotals(1) = True
pf.Subtotals(1) = False
17. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
17 Biên Soạn: Ths Trần Đình Ngọc
Next pf
End Sub
57.Refresh All Pivot Tables
Sub CloseAllWorkbooks()
Dim wbs As Workbook
For Each wbs In Workbooks
wbs.Close SaveChanges:=True
Next wb
End Sub
58.Create a Pivot Table
Sub CopyWorksheetToNewWorkbook()
ThisWorkbook.ActiveSheet.Copy _
Before:=Workbooks.Add.Worksheets(1)
End Sub
59.Auto Update Pivot Table Range
Sub UpdatePivotTableRange()
Dim Data_Sheet As Worksheet
Dim Pivot_Sheet As Worksheet
Dim StartPoint As Range
Dim DataRange As Range
Dim PivotName As String
Dim NewRange As String
Dim LastCol As Long
Dim lastRow As Long
'Set Pivot Table & Source Worksheet
Set Data_Sheet = ThisWorkbook.Worksheets("PivotTableData3")
Set Pivot_Sheet = ThisWorkbook.Worksheets("Pivot3")
'Enter in Pivot Table Name
PivotName = "PivotTable2"
'Defining Staring Point & Dynamic Range
Data_Sheet.Activate
Set StartPoint = Data_Sheet.Range("A1")
LastCol = StartPoint.End(xlToRight).Column
DownCell = StartPoint.End(xlDown).Row
Set DataRange = Data_Sheet.Range(StartPoint, Cells(DownCell,
LastCol))
NewRange = Data_Sheet.Name & "!" &
DataRange.Address(ReferenceStyle:=xlR1C1)
'Change Pivot Table Data Source Range Address
Pivot_Sheet.PivotTables(PivotName). _
18. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
18 Biên Soạn: Ths Trần Đình Ngọc
ChangePivotCache ActiveWorkbook. _
PivotCaches.Create(SourceType:=xlDatabase, SourceData:=NewRange)
'Ensure Pivot Table is Refreshed
Pivot_Sheet.PivotTables(PivotName).RefreshTable
'Complete Message
Pivot_Sheet.Activate
MsgBox "Your Pivot Table is now updated."
End Sub
60.Disable/Enable Get Pivot Data
Sub activateGetPivotData()
Application.GenerateGetPivotData = True
End Sub
Sub deactivateGetPivotData()
Application.GenerateGetPivotData = False
End Sub
Charts Codes
Use these VBA codes to manage charts in Excel and save your lot of time.
61.Change Chart Type
Sub ChangeChartType()
ActiveChart.ChartType = xlColumnClustered
End Sub
62.Paste Chart as an Image
Sub ConvertChartToPicture()
ActiveChart.ChartArea.Copy
ActiveSheet.Range("A1").Select
ActiveSheet.Pictures.Paste.Select
End Sub
63.Add Chart Title
Sub AddChartTitle()
Dim i As Variant
i = InputBox("Please enter your chart title", "Chart Title")
On Error GoTo Last
ActiveChart.SetElement (msoElementChartTitleAboveChart)
ActiveChart.ChartTitle.Text = i
Last:
Exit Sub
End Sub
19. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
19 Biên Soạn: Ths Trần Đình Ngọc
Advanced Codes
Some of the codes which you can use to preform advanced task in your
spreadsheets.
64.Save Selected Range as a PDF
Sub HideSubtotals()
Dim pt As PivotTable
Dim pf As PivotField
On Error Resume Next
Set pt = ActiveSheet.PivotTables(ActiveCell.PivotTable.name)
If pt Is Nothing Then
MsgBox "You must place your cursor inside of a PivotTable."
Exit Sub
End If
For Each pf In pt.PivotFields
pf.Subtotals(1) = True
pf.Subtotals(1) = False
Next pf
End Sub
65.Create a Table of Content
Sub TableofContent()
Dim i As Long
On Error Resume Next
Application.DisplayAlerts = False
Worksheets("Table of Content").Delete
Application.DisplayAlerts = True
On Error GoTo 0
ThisWorkbook.Sheets.Add Before:=ThisWorkbook.Worksheets(1)
ActiveSheet.Name = "Table of Content"
For i = 1 To Sheets.Count
With ActiveSheet
.Hyperlinks.Add _
Anchor:=ActiveSheet.Cells(i, 1), _
Address:="", _
SubAddress:="'" & Sheets(i).Name & "'!A1", _
ScreenTip:=Sheets(i).Name, _
TextToDisplay:=Sheets(i).Name
End With
Next i
End Sub
20. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
20 Biên Soạn: Ths Trần Đình Ngọc
66.Convert Range into an Image
Sub PasteAsPicture()
Application.CutCopyMode = False
Selection.Copy
ActiveSheet.Pictures.Paste.Select
End Sub
67.Insert a Linked Picture
Sub LinkedPicture()
Selection.Copy
ActiveSheet.Pictures.Paste(Link:=True).Select
End Sub
68.Use Text to Speech
Sub Speak()
Selection.Speak
End Sub
69.Activate Data Entry Form
Sub DataForm()
ActiveSheet.ShowDataForm
End Sub
70.Use Goal Seek
Sub GoalSeekVBA()
Dim Target As Long
On Error GoTo Errorhandler
Target = InputBox("Enter the required value", "Enter Value")
Worksheets("Goal_Seek").Activate
With ActiveSheet .Range("C7")
.GoalSeek_ Goal:=Target, _
ChangingCell:=Range("C2")
End With
Exit Sub
Errorhandler: MsgBox("Sorry, value is not valid.")
End Sub
71.VBA Code to Search on Google
Sub SearchWindow32()
Dim chromePath As String
21. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
21 Biên Soạn: Ths Trần Đình Ngọc
Dim search_string As String
Dim query As String
query = InputBox("Enter here your search here", "Google Search")
search_string = query
search_string = Replace(search_string, " ", "+")
'Uncomment the following line for Windows 64 versions and comment out
Windows 32 versions'
chromePath = "C:Program
FilesGoogleChromeApplicationchrome.exe"
'Uncomment the following line for Windows 32 versions and comment out
Windows 64 versions
chromePath = "C:Program Files
(x86)GoogleChromeApplicationchrome.exe"
Shell (chromePath & " -url http://google.com/#q=" & search_string)
End Sub
Formula Codes
These codes will help you to calculate or get results which often you do with
worksheet functions and formulas.
72.Convert all Formulas into Values
Sub ConvertToValues()
Dim MyRange As Range
Dim MyCell As Range
Select Case MsgBox("You Can't Undo This Action. " & "Save Workbook
First?", vbYesNoCancel, "Alert")
Case Is = vbYes
ThisWorkbook.Save
Case Is = vbCancel
22. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
22 Biên Soạn: Ths Trần Đình Ngọc
Exit Sub
End Select
Set MyRange = Selection
For Each MyCell In MyRange
If MyCell.HasFormula Then
MyCell.Formula = MyCell.Value
End If
Next MyCell
End Sub
73.Remove Spaces from Selected Cells
Sub RemoveSpaces()
Dim myRange As Range
Dim myCell As Range
Select Case MsgBox("You Can't Undo This Action. " & "Save Workbook
First?", _
vbYesNoCancel, "Alert")
Case Is = vbYesThisWorkbook.Save
Case Is = vbCancel
Exit Sub
End Select
Set myRange = Selection
For Each myCell In myRange
If Not IsEmpty(myCell) Then
myCell = Trim(myCell)
End If
Next myCell
End Sub
74.Remove Characters from a String
Public Function removeFirstC(rng As String, cnt As Long)
removeFirstC = Right(rng, Len(rng) - cnt)
End Function
75.Add Insert Degree Symbol in Excel
Sub degreeSymbol()
Dim rng As Range
For Each rng In Selection
rng.Select
If ActiveCell <> "" Then
If IsNumeric(ActiveCell.Value) Then
23. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
23 Biên Soạn: Ths Trần Đình Ngọc
ActiveCell.Value = ActiveCell.Value & "°"
End If
End If
Next
End Sub
76.Reverse Text
Public Function rvrse(ByVal cell As Range) As String
rvrse = VBA.strReverse(cell.Value)
End Function
77.Activate R1C1 Reference Style
Sub DataForm()
ActiveSheet.ShowDataForm
End Sub
78.Activate A1 Reference Style
Sub ActivateA1()
If Application.ReferenceStyle = xlR1C1 Then
Application.ReferenceStyle = xlA1
Else
Application.ReferenceStyle = xlA1
End If
End Sub
79.Insert Time Range
Sub TimeStamp()
Dim i As Integer
For i = 1 To 24
ActiveCell.FormulaR1C1 = i & ":00"
ActiveCell.NumberFormat = "[$-409]h:mm AM/PM;@"
ActiveCell.Offset(RowOffset:=1, ColumnOffset:=0).Select
Next i
End Sub
80.Convert Date into Day
Sub date2day()
Dim tempCell As Range
Selection.Value = Selection.Value
For Each tempCell In Selection
If IsDate(tempCell) = True Then
With tempCell
.Value = Day(tempCell)
.NumberFormat = "0"
24. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
24 Biên Soạn: Ths Trần Đình Ngọc
End With
End If
Next tempCell
End Sub
81.Convert Date into Year
Sub date2year()
Dim tempCell As Range
Selection.Value = Selection.Value
For Each tempCell In Selection
If IsDate(tempCell) = True Then
With tempCell
.Value = Year(tempCell)
.NumberFormat = "0"
End With
End If
Next tempCell
End Sub
82.Remove Time from Date
Sub removeTime()
Dim Rng As Range
For Each Rng In Selection
If IsDate(Rng) = True Then
Rng.Value = VBA.Int(Rng.Value)
End If
Next
Selection.NumberFormat = "dd-mmm-yy"
End Sub
83.Remove Date from Date and Time
Sub removeDate()
Dim Rng As Range
For Each Rng In Selection
If IsDate(Rng) = True Then
Rng.Value = Rng.Value - VBA.Fix(Rng.Value)
End If
NextSelection.NumberFormat = "hh:mm:ss am/pm"
End Sub
84.Convert to Upper Case
Sub convertUpperCase()
Dim Rng As Range
25. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
25 Biên Soạn: Ths Trần Đình Ngọc
For Each Rng In Selection
If Application.WorksheetFunction.IsText(Rng) Then
Rng.Value = UCase(Rng)
End If
Next
End Sub
85.Convert to Lower Case
Sub convertLowerCase()
Dim Rng As Range
For Each Rng In Selection
If Application.WorksheetFunction.IsText(Rng) Then
Rng.Value= LCase(Rng)
End If
Next
End Sub
86.Convert to Proper Case
Sub convertProperCase()
Dim Rng As Range
For Each Rng In Selection
If WorksheetFunction.IsText(Rng) Then
Rng.Value= WorksheetFunction.Proper(Rng.Value)
End If
Next
End Sub
87.Convert to Sentence Case
Sub convertTextCase()
Dim Rng As Range
For Each Rng In Selection
If WorksheetFunction.IsText(Rng) Then
Rng.Value= UCase(Left(Rng, 1)) & LCase(Right(Rng, Len(Rng) -1))
End If
Next rng
End Sub
88.Remove a Character from Selection
Sub removeChar()
Dim Rng As Range
Dim rc As String
rc = InputBox("Character(s) to Replace", "Enter Value")
For Each Rng In Selection
26. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
26 Biên Soạn: Ths Trần Đình Ngọc
Selection.Replace What:=rc, Replacement:=""
Next
End Sub
89.Word Count from Entire Worksheet
Sub Word_Count_Worksheet()
Dim WordCnt As Long
Dim rng As Range
Dim S As String
Dim N As Long
For Each rng In ActiveSheet.UsedRange.Cells
S = Application.WorksheetFunction.Trim(rng.Text)
N = 0
If S <> vbNullString Then
N = Len(S) - Len(Replace(S, " ", "")) + 1
End If
WordCnt = WordCnt + N
Next rng
MsgBox "There are total " & Format(WordCnt, "#,##0") & " words in the
active worksheet"
End Sub
90.Remove the Apostrophe from a Number
Sub removeApostrophes()
Selection.Value = Selection.Value
End Sub
91.Remove Decimals from Numbers
Sub removeDecimals()
Dim lnumber As Double
Dim lResult As Long
Dim rng As Range
For Each rng In Selection
rng.Value= Int(rng)
rng.NumberFormat= "0"
Next rng
End Sub
92.Multiply all the Values by a Number
Sub multiplyWithNumber()
Dim rng As Range
Dim c As Integer c = InputBox("Enter number to multiple", "Input
Required")
27. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
27 Biên Soạn: Ths Trần Đình Ngọc
For Each rng In Selection
If WorksheetFunction.IsNumber(rng) Then
rng.Value = rng * c
Else
End If
Next rng
End Sub
93.Add a Number in all the Numbers
Sub addNumber()
Dim rngAs Range
DimiAs Integer
i= InputBox("Enter number to multiple", "Input Required")
For Each rng In Selection
If WorksheetFunction.IsNumber(rng) Then
rng.Value= rng+ i
Else
End If
Next rng
End Sub
94.Calculate the Square Root
Sub getSquareRoot()
Dim rngAs Range
Dim i As Integer
For Each rng In Selection
If WorksheetFunction.IsNumber(rng) Then
rng.Value= Sqr(rng)
Else
End If
Next rng
End Sub
95.Calculate the Cube Root
Sub getCubeRoot()
Dim rng As Range
Dimi As Integer
For Each rng In Selection
If WorksheetFunction.IsNumber(rng) Then
rng.Value = rng ^ (1 / 3)
Else
End If
28. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
28 Biên Soạn: Ths Trần Đình Ngọc
Nextrng
End Sub
96.Add A-Z Alphabets in a Range
Sub addcAlphabets()
Dim i As Integer
For i= 65 To 90
ActiveCell.Value= Chr(i)
ActiveCell.Offset(1, 0).Select
Next i
End Sub
Sub addsAlphabets()
Dim i As Integer
For i= 97 To 122
ActiveCell.Value= Chr(i)
ActiveCell.Offset(1, 0).Select
Next i
End Sub
97.Convert Roman Numbers into Arabic Numbers
Sub convertToNumbers()
Dim rng As Range
Selection.Value= Selection.Value
For Each rng In Selection
If Not WorksheetFunction.IsNonText(rng) Then
rng.Value= WorksheetFunction.Arabic(rng)
End If
Next rng
End Sub
98.Remove Negative Signs
Sub removeNegativeSign()
Dim rngAs Range
Selection.Value= Selection.Value
For Each rngIn Selection
If WorksheetFunction.IsNumber(rng)
Then rng.Value= Abs(rng)
End If
Next rng
End Sub
99. Replace Blank Cells with Zeros
29. Tài liệu Lập trình VBA Cơ bản Trung Tâm Tin Học Hoài Ân
29 Biên Soạn: Ths Trần Đình Ngọc
Sub replaceBlankWithZero()
Dim rngAs Range
Selection.Value= Selection.Value
For Each rngIn Selection
If rng= "" Or rng= " " Then
rng.Value= "0"
Else
End If
Next rng
End Sub