So I am trying to achieve a task where I would fetch values from an excel file. Make the necessary modifications to the values, and then add them to the Powerpoint Presentation.
Hence, to achieve the goal. I used the developer tools in Power point and started writing a vba script. Now the Goal of getting values from another excel file and adding them to powerpoint, was more simple and straightforward. HOWEVER, when I am trying to fetch some Specific values from the excel file.
For Example, the Values, who have value of "5" in Column C (which will only have number 1-5).
And I was wondering/Confused as to what approach would be more faster/efficient in this case.
Option A) Use Autofilter, to filter the list, and then loop through the now visible Cells? Option B) Go through all the columns, and then fetch the values?
I was wondering if the AutoFilter Excel Provides has some sort of advantage over normal For Each Loop in Vba? And Hence would be faster?
NOTE: The VBA Script will be ran from powerpoint, So To Use Excel Workbook and commands, I need to create an object of "Excel.Application"
Edit: Correction of naming.