Which programming language is primarily utilized for writing macros in Microsoft Excel?

Computer Mcqs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
Computer Mcqscomputer-mcqs
Published
31 Mar 2018
Last updated
28 May 2026

Browse all Computer Mcqs

Choose the correct answer

Explanation

The correct answer is Visual Basic for Applications (VBA), which is the language designed specifically for automating tasks and creating macros in Excel. Other languages like C, Visual C++, and Java are not used for Excel macros.

SolveExam — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.