In this task, you will populate the Sales Report Template by recording a macro
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

In this task, you will populate the Sales Report Template by recording a macro

Task 4: Import Data from External File 

In this task, you will populate the Sales Report Template by recording a macro that imports data from an external text file, Historical Sales Data.txt. Also, your will edit this macro to handle errors using help resources. 

4.1 Import data using the ‘Import Past Data Macro Button’ 

R 1. in the Template, implement Function 2 as per the Project Brief’s requirements: 

test the macro button and all other functionalities for accuracy 

output must conform to the Style Guide standards 

R 2. save and store the Template in accordance with organisational requirements 

R 3. request feedback from the Sales Manager (Assessor) on the draft Template 

R 4. after the receipt of this feedback, modify your draft template in light of the feedback received. 

4.2 Ensure error handling in macros using external assistance 

R 1. research the “Run-time error ‘5’ Invalid procedure call or argument” error using help resources R 2. edit the Import_Past_Data macro: 

apply the solution based on your research 

at the top of your VBA code, add a comment which shows the source of their solution R 3. save and store the Template in accordance with organisational requirements.

Appendix

Hint
ManagementTo record a macro in Excel, click the “View” tab in the Ribbon. Then click the “Macros” drop-down button in the “Macros” button group. Then select the “Record Macro…” command to open the “Record Macro” dialog box. In the “Record Macro” dialog box, enter a name for your new macro into the “Macro name” text box....

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.