<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/blog/rss.xsl"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Christophe Avonture &#x2014; VBA / VBScript</title>
        <link>https://www.avonture.be/blog/tags/vba</link>
        <description>Programming macros in Microsoft Office applications (Excel, Access) and Windows scripting with VBScript.</description>
        <lastBuildDate>Mon, 27 Oct 2025 00:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <item>
            <title><![CDATA[MS Excel - Get the list of references used in your modules]]></title>
            <link>https://www.avonture.be/blog/vba-excel-list-references</link>
            <guid isPermaLink="false">/blog/vba-excel-list-references</guid>
            <pubDate>Mon, 27 Oct 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/excel.webp" alt="MS Excel - Get the list of references used in your modules" style="display:block;max-width:100%;height:auto;">VBA developer? Stop manually checking references! Use this VBS script to automatically retrieve a list of all VBA references in multiple Excel .xlsm or .xlam files.]]></description>
            <author>Christophe</author>
            <category>excel</category>
            <category>vba</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/excel.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[Export MS Access objects]]></title>
            <link>https://www.avonture.be/blog/vba-access-export</link>
            <guid isPermaLink="false">/blog/vba-access-export</guid>
            <pubDate>Fri, 27 Jun 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/msaccess.webp" alt="Export MS Access objects" style="display:block;max-width:100%;height:auto;">Easily version control your MS Access database! Export all VBA code, forms, modules, queries, and reports to flat files using a simple VBS script for GitHub integration.]]></description>
            <author>Christophe</author>
            <category>database</category>
            <category>msaccess</category>
            <category>vba</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/msaccess.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[MS Excel - Connect to a SQL Server database, run a query and get the results - Step by step]]></title>
            <link>https://www.avonture.be/blog/vba-excel-sql-server-part-2</link>
            <guid isPermaLink="false">/blog/vba-excel-sql-server-part-2</guid>
            <pubDate>Sun, 16 Mar 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/mssql.webp" alt="MS Excel - Connect to a SQL Server database, run a query and get the results - Step by step" style="display:block;max-width:100%;height:auto;">Connect MS Excel VBA to SQL Server with this step-by-step tutorial. Learn to run SQL queries, retrieve data, and output results into your spreadsheet. Docker setup included.]]></description>
            <author>Christophe</author>
            <category>database</category>
            <category>docker</category>
            <category>excel</category>
            <category>vba</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/mssql.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[MS Office - Load dropdown from Excel's range]]></title>
            <link>https://www.avonture.be/blog/vba-excel-ribbon-load</link>
            <guid isPermaLink="false">/blog/vba-excel-ribbon-load</guid>
            <pubDate>Sat, 22 Feb 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/ribbon.webp" alt="MS Office - Load dropdown from Excel's range" style="display:block;max-width:100%;height:auto;">Load an Excel range into your custom VBA Ribbon dropdown control. This step-by-step tutorial covers the VBA code, Custom UI XML, and named ranges needed for a dynamic solution.]]></description>
            <author>Christophe</author>
            <category>excel</category>
            <category>vba</category>
            <category>vscode</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/ribbon.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[VBS - Get list of files and generate a CSV]]></title>
            <link>https://www.avonture.be/blog/vbs-files-csv</link>
            <guid isPermaLink="false">/blog/vbs-files-csv</guid>
            <pubDate>Thu, 28 Nov 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/vbs.webp" alt="VBS - Get list of files and generate a CSV" style="display:block;max-width:100%;height:auto;">Need a file list in CSV format? Use this VBScript to scan a folder, including sub-folders, and output file details like size, date, and owner for easy analysis.]]></description>
            <author>Christophe</author>
            <category>vba</category>
            <category>windows</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/vbs.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[WinSCP - Visual Basic for Application use]]></title>
            <link>https://www.avonture.be/blog/winscp-vba</link>
            <guid isPermaLink="false">/blog/winscp-vba</guid>
            <pubDate>Tue, 13 Aug 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/winscp.webp" alt="WinSCP - Visual Basic for Application use" style="display:block;max-width:100%;height:auto;">Automate secure SFTP/FTP file transfers directly from MS Office. Learn how to call the WinSCP DLLs using simple Visual Basic for Application (VBA) code with a practical example.]]></description>
            <author>Christophe</author>
            <category>vba</category>
            <category>winscp</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/winscp.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[Microsoft Outlook - VBA - Save emails as PDF]]></title>
            <link>https://www.avonture.be/blog/outlook-vba-pdf</link>
            <guid isPermaLink="false">/blog/outlook-vba-pdf</guid>
            <pubDate>Wed, 10 Jul 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/outlook_vba.webp" alt="Microsoft Outlook - VBA - Save emails as PDF" style="display:block;max-width:100%;height:auto;">Learn how to implement a VBA macro in Microsoft Outlook to easily save selected emails as PDF files to your hard drive, complete with step-by-step installation and usage instructions.]]></description>
            <author>Christophe</author>
            <category>vba</category>
            <category>windows</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/outlook_vba.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[MS Excel - Connect to a SQL Server database, run a query and get the results]]></title>
            <link>https://www.avonture.be/blog/vba-excel-sql-server</link>
            <guid isPermaLink="false">/blog/vba-excel-sql-server</guid>
            <pubDate>Fri, 05 Apr 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/mssql.webp" alt="MS Excel - Connect to a SQL Server database, run a query and get the results" style="display:block;max-width:100%;height:auto;">Connect MS Excel to SQL Server with VBA. Run SQL queries, inject results directly into your spreadsheet, and preserve formatting. Learn the best method for data refresh or secure sharing.]]></description>
            <author>Christophe</author>
            <category>database</category>
            <category>excel</category>
            <category>vba</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/mssql.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[VBS - Auto update script]]></title>
            <link>https://www.avonture.be/blog/vbs-auto-update</link>
            <guid isPermaLink="false">/blog/vbs-auto-update</guid>
            <pubDate>Tue, 19 Mar 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/vbs.webp" alt="VBS - Auto update script" style="display:block;max-width:100%;height:auto;">Automate updates for your VBS (Visual Basic Script) console scripts! Learn how to create a self-updating VBS file that connects to GitHub, checks for new versions, and overwrites itself.]]></description>
            <author>Christophe</author>
            <category>github</category>
            <category>vba</category>
            <category>windows</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/vbs.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
        <item>
            <title><![CDATA[VBS - Retrieve the list of fields in a MS Access Database]]></title>
            <link>https://www.avonture.be/blog/vbs-msaccess-get-fields</link>
            <guid isPermaLink="false">/blog/vbs-msaccess-get-fields</guid>
            <pubDate>Sat, 09 Mar 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[<img src="https://www.avonture.be/img/v2/msaccess.webp" alt="VBS - Retrieve the list of fields in a MS Access Database" style="display:block;max-width:100%;height:auto;">Use a VBScript to easily retrieve a detailed list of fields from your MS Access database. Analyze field size, type, and actual value length to optimize your database structure.]]></description>
            <author>Christophe</author>
            <category>database</category>
            <category>msaccess</category>
            <category>vba</category>
            <enclosure length="0" type="image/webp" url="https://www.avonture.be/img/v2/msaccess.webp"/>
        <dc:creator><![CDATA[Christophe]]></dc:creator></item>
    </channel>
</rss>