<?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>Win32 API は Windows が提供する API のこと。 Win32 API を利用することで、VBA の機能だけでは実現できない、Windows の機能やリソースに直接アクセスするといった処理ができるようになる。 利用方法 VBA から Win32 API を利用するためには、モジュールの宣言セクションで API を宣言する。 API の宣言には Declare ステートメントを使う。 '値を返さない場合 Declare PtrSafe Sub 〈関数名〉 Lib &quot;〈DLL名〉&quot; ([引数リスト]) '値を返す場合 Declare PtrSafe Function 〈関数名〉 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnmk365.hatenablog.jp%2Fentry%2Fvba-declare&quot; title=&quot;VBAからWin32 APIを利用する | Declareステートメント - 怠日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/ktrito33/20250628/20250628020402.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-06-24 23:50:00</published>
  <title>VBAからWin32 APIを利用する | Declareステートメント</title>
  <type>rich</type>
  <url>https://nmk365.hatenablog.jp/entry/vba-declare</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
