Article ID: 323164 - Last Review: February 1, 2007 - Revision: 3.3 HOW TO: Put Folder Contents into a Worksheet in Excel for MacThis article was previously published under Q323164 On This PageSUMMARY
This step-by-step article describes how to a create a Microsoft Visual Basic for Applications macro that prints the contents of a folder (directory) to a range of cells in a worksheet. Macro Code DisclaimerMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.How to Create and Use the MacroTo programmatically print the contents of a folder to a range of cells in an Excel worksheet, follow these steps:
REFERENCESFor additional information about macro programming resources, click the article number below
to view the article in the Microsoft Knowledge Base:
310330
(http://support.microsoft.com/kb/310330/EN-US/
)
MacXL: Resources That Offer Information About Programming in Visual Basic
| Article Translations
|

Back to the top
