Communication & Stakeholder Relations Flashcards
7 cards from real Excel VBA practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Communication & Stakeholder Relations flashcards as text
A stakeholder requests that your VBA macro send them an automated email summary after each run. Which Outlook object would you use to create and send the email?
Answer: Outlook.MailItem
Outlook.MailItem represents an email message and exposes properties like To, Subject, Body, and the Send method.
Your manager wants a pop-up notification when a macro finishes processing. Which VBA statement displays a simple message box with just an OK button?
Answer: MsgBox "Done!", vbOKOnly
MsgBox with vbOKOnly displays a dialog with a single OK button, suitable for a simple completion notification.
A stakeholder needs your macro to log activity to a shared status cell so others can monitor progress. Which approach writes text to cell A1 on a sheet named 'Log'?
Answer: Sheets("Log").Range("A1").Value = "Processing..."
Setting the .Value property of a Range object writes text directly to the specified cell.
You need to present a dynamic dashboard to executives and want your VBA macro to automatically refresh all pivot tables before they open the file. Which method refreshes all pivot tables in a workbook?
Answer: ThisWorkbook.RefreshAll
ThisWorkbook.RefreshAll refreshes all data connections and pivot tables in the workbook at once.
A client asks your macro to display a custom dialog box asking for their project name before running. Which VBA function returns user-typed text from a dialog?
Answer: InputBox()
InputBox() displays a prompt dialog and returns the string the user types as its return value.
When distributing a macro-enabled workbook to stakeholders, which file format preserves VBA code while also being recognized as macro-enabled by Excel?
Answer: .xlsm
.xlsm is the Excel Macro-Enabled Workbook format that stores VBA code and clearly signals to users that macros are present.
Your stakeholder wants the macro to write a summary report to a separate sheet named 'Report' and then navigate the user to that sheet automatically. Which line of code activates the 'Report' sheet?
Answer: Sheets("Report").Activate
Sheets("Report").Activate makes the specified sheet the active sheet, bringing it into view for the user.