<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ktrito33</author_name>
  <author_url>https://blog.hatena.ne.jp/ktrito33/</author_url>
  <blog_title>怠日記</blog_title>
  <blog_url>https://nmk365.hatenablog.jp/</blog_url>
  <categories>
    <anon>VBA</anon>
  </categories>
  <description>VBA で ini ファイルから文字列を読み取るには、Win32API の GetPrivateProfileStringA 関数を使う。 サンプルコード 以下に GetPrivateProfileStringA 関数を使った読み取りのサンプルを示す。 Option Explicit 'GetPrivateProfileStringA 関数を宣言する Private Declare PtrSafe Function GetPrivateProfileStringA Lib &quot;kernel32&quot; ( _ ByVal lpAppName As String, _ ByVal lpKeyName A…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnmk365.hatenablog.jp%2Fentry%2Fvba-read-ini-file&quot; title=&quot;VBA: iniファイルを読み取るには | GetPrivateProfileStringA関数 - 怠日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-24 07:30:00</published>
  <title>VBA: iniファイルを読み取るには | GetPrivateProfileStringA関数</title>
  <type>rich</type>
  <url>https://nmk365.hatenablog.jp/entry/vba-read-ini-file</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
