New: NextGenTemplates Academy - video courses on Excel formulas with AI and Pivot Tables & dashboards. Early-bird: 20% off with code EARLYBIRD20 - first 20 orders only. See the courses →
  • Learn Excel (Free Course)
    • 1. Shortcut Keys
    • 2. Fill & Flash Fill
    • 3. Find & Replace
    • 4. Sort & Filter
    • 5. Formulas & Functions
    • 6. Data Validation
    • 7. Conditional Formatting
    • 8. Basic Charts
    • 9. Advanced Charts
    • 10. Pivot Tables
    • 11. Excel Dashboards
    • 12. VBA Course
    • 13. Excel Formulas with AI
  • Templates
  • Tutorials
    • Charts and Visualization
    • VBA
    • Excel Tips and Tricks
    • Excel Dashboards
    • Power Pivot & DAX
  • Power BI
  • Template Store
    • Ready to Use Templates
  • Courses
  • Academy
    • Excel + AI Mastery: 100 Formulas
    • Excel Pivot Tables & Dashboards
  • About Us
  • Contact Us

PK: An Excel Expert

Transforming Data into Decisions

Tag: VBA

UDF to Fetch Comment Text in Excel Cell: VBA Code Explained
VBA

UDF to Fetch Comment Text in Excel Cell: VBA Code Explained

June 24, 2019October 9, 2026 PKComments Off on UDF to Fetch Comment Text in Excel Cell: VBA Code Explained
Need to fetch comment text in an Excel cell so you can filter, count or report on it? Excel has no built-in formula that reads a comment, but a five-line
Read More
VBA UserForm to Segregate Data into Multiple Worksheets
VBA

VBA UserForm to Segregate Data into Multiple Worksheets

June 17, 2019October 9, 2026 PKComments Off on VBA UserForm to Segregate Data into Multiple Worksheets
When you need to segregate data into multiple worksheets, one sheet per supervisor, per employee or per date, copying and filtering by hand takes ages and is easy to get
Read More
Shell Function in VBA: Open Programs, Folders and Files
VBA

Shell Function in VBA: Open Programs, Folders and Files

June 14, 2019October 9, 2026 PKComments Off on Shell Function in VBA: Open Programs, Folders and Files
The Shell function in VBA lets your macro start another program, exactly as if you had double-clicked it. In this tutorial you use it in the three ways PK shows
Read More
PDF to Word Converter Macro in Excel VBA: Convert Multiple PDFs
VBA

PDF to Word Converter Macro in Excel VBA: Convert Multiple PDFs

June 3, 2019October 9, 2026 PKComments Off on PDF to Word Converter Macro in Excel VBA: Convert Multiple PDFs
A PDF to Word converter macro in Excel VBA turns a whole folder of PDF files into editable Word documents with one click. You type two folder paths on a
Read More
33 Useful VBA Shortcut Keys (Full List with Examples)
VBA

33 Useful VBA Shortcut Keys (Full List with Examples)

May 30, 2019October 10, 2026 PKComments Off on 33 Useful VBA Shortcut Keys (Full List with Examples)
These 33 useful VBA shortcut keys help you write, test and debug macros faster and lay out UserForms in seconds instead of minutes. Below you will find all 33 in
Read More
Protect Excel Worksheet as UserInterfaceOnly with VBA
VBA

Protect Excel Worksheet as UserInterfaceOnly with VBA

May 17, 2019October 9, 2026 PKComments Off on Protect Excel Worksheet as UserInterfaceOnly with VBA
When you protect an Excel worksheet as UserInterfaceOnly, the sheet stays locked for people but stays open for your VBA macros. That solves two everyday problems. First, a macro that
Read More
Calendar
Templates VBA

Fully Functional Dynamic Calendar Control in VBA

April 28, 2019October 10, 2026 PKComments Off on Fully Functional Dynamic Calendar Control in VBA
Ah, The complexities of automation! The versatile and multifaceted world of Excel VBA offers an array of tools and functionalities to streamline tasks and make life easier. Yet, despite its
Read More
UDF for Evaluate a Formula in Excel: Turn Text into Results
VBA

UDF for Evaluate a Formula in Excel: Turn Text into Results

April 18, 2019October 9, 2026 PKComments Off on UDF for Evaluate a Formula in Excel: Turn Text into Results
A UDF for evaluate a formula in Excel solves a common annoyance: a formula stored as text, such as 5+6+7 or VLOOKUP(10005,Sheet2!A:B,2,0), just sits in the cell and never calculates.
Read More
Merge Cells with Same Value in Excel Using VBA (Quick Macro)
VBA

Merge Cells with Same Value in Excel Using VBA (Quick Macro)

April 16, 2019November 27, 2026 PKComments Off on Merge Cells with Same Value in Excel Using VBA (Quick Macro)
In this article you will learn how to quickly merge same cells in Excel using VBA. Using this VBA code, you can merge multiple columns data together. This trick can
Read More
Data Consolidator
VBA

Data Consolidation: Allow User to select files on Runtime

April 8, 2019March 11, 2025 PKComments Off on Data Consolidation: Allow User to select files on Runtime
In this article, we will explain to you the Data Consolidation from multiple Excel files using Application.GetOpenFileName in VBA. You can easily allow the user to select multiple excel files
Read More

Posts pagination

Previous 1 … 5 6 7 … 9 Next
  • Learn Excel (Free Course)
    • 1. Shortcut Keys
    • 2. Fill & Flash Fill
    • 3. Find & Replace
    • 4. Sort & Filter
    • 5. Formulas & Functions
    • 6. Data Validation
    • 7. Conditional Formatting
    • 8. Basic Charts
    • 9. Advanced Charts
    • 10. Pivot Tables
    • 11. Excel Dashboards
    • 12. VBA Course
    • 13. Excel Formulas with AI
  • Templates
  • Tutorials
    • Charts and Visualization
    • VBA
    • Excel Tips and Tricks
    • Excel Dashboards
    • Power Pivot & DAX
  • Power BI
  • Template Store
    • Ready to Use Templates
  • Courses
  • Academy
    • Excel + AI Mastery: 100 Formulas
    • Excel Pivot Tables & Dashboards
  • About Us
  • Contact Us
Copyright © 2023 PK-AnExcelExpert.com - Privacy Policy