<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>VBA &#8211; まったりエンジニア</title>
	<atom:link href="https://javeo.jp/tag/vba/feed/" rel="self" type="application/rss+xml" />
	<link>https://javeo.jp</link>
	<description>ほどほどレベルのプログラミング</description>
	<lastBuildDate>Sun, 18 Oct 2026 21:37:14 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://javeo.jp/wp-content/uploads/2026/05/cropped-サイトアイコン2-32x32.png</url>
	<title>VBA &#8211; まったりエンジニア</title>
	<link>https://javeo.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>【VBA】OutlookのメールデータをExcelに取得するマクロ</title>
		<link>https://javeo.jp/get-outlook-data/</link>
					<comments>https://javeo.jp/get-outlook-data/#respond</comments>
		
		<dc:creator><![CDATA[ジャベ雄]]></dc:creator>
		<pubDate>Tue, 30 Apr 2024 23:00:00 +0000</pubDate>
				<category><![CDATA[Excel・VBA]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[VBA]]></category>
		<category><![CDATA[メール]]></category>
		<category><![CDATA[自動化]]></category>
		<guid isPermaLink="false">https://javeo.jp/?p=2054</guid>

					<description><![CDATA[<p><img src="https://javeo.jp/wp-content/uploads/2026/06/get-outlook-data-1024x538.jpg" class="webfeedsFeaturedVisual" /></p>ExcelのVBAでOutlookからメール情報（TO/CC/BCC/本文/添付ファイル）を一括取得するマクロを解説、クラシックOutlook専用で新しいOutlookは非対応、2026年現在も使えるコードです]]></description>
										<content:encoded><![CDATA[<p><img src="https://javeo.jp/wp-content/uploads/2026/06/get-outlook-data-1024x538.jpg" class="webfeedsFeaturedVisual" /></p><div class="codoc-evacuations" style="display:none;" data-shortcode=""></div>
<div class="wp-block-group is-style-big_icon_point"><div class="wp-block-group__inner-container">
<p class="wp-block-paragraph">Excel VBAでOutlookのメールデータを抽出するプログラムを作った時に地味に躓いたり、歯痒いところに手が届かないことが多かったので備忘半分でプログラムを残しています</p>



<p class="wp-block-paragraph">調べれば調べるほど微調整箇所が多いのでちょくちょく更新するつもりです、最終更新日をご確認ください</p>
</div></div>



<p class="wp-block-paragraph">このマクロを使うと、Outlookに設定している<strong><span class="swl-marker mark_yellow">全アカウントの受信メールと送信メールをまとめてExcelに書き出せます</span></strong></p>



<p class="wp-block-paragraph">取得できるのは差出人アドレス・TO・CC・BCC・受信日時・件名・本文・添付ファイルで、フォルダ階層も追いかけて再帰的に拾ってくれます</p>



<p class="wp-block-paragraph">1通ずつ手作業でコピペするのが面倒だったり、メールの一覧をExcelで分析したい方の役に立てばうれしいです</p>



<h2 class="wp-block-heading">動作条件（クラシックOutlook専用）</h2>



<p class="wp-block-paragraph">まず最初に大事な前提をお伝えします</p>



<p class="wp-block-paragraph">このマクロが動くのは<strong><span class="swl-marker mark_yellow" style="color:#e8313b">クラシックOutlook（旧Outlook）だけ</span></strong>です</p>



<div class="wp-block-group is-style-big_icon_caution"><div class="wp-block-group__inner-container">
<p class="wp-block-paragraph">このコードは<strong>クラシックOutlook専用</strong>です</p>



<p class="wp-block-paragraph"><strong><span class="swl-marker mark_yellow">新しいOutlook（New Outlook）ではVBAが動きません</span></strong>、Microsoftが公式に「新しいOutlookではVBAとマクロをサポートしない」と明言しています</p>



<p class="wp-block-paragraph"><strong>Outlook.Application</strong> や <strong>GetNamespace(&#8220;MAPI&#8221;)</strong> といったCOM経由の操作はすべて使えません、新しいOutlookがWebView2ベースの別アーキテクチャに作り替えられたためです</p>



<p class="wp-block-paragraph">クラシックOutlookは2026年時点で少なくとも2029年まではサポートが続く見込みなので、いま使う分には問題ないです、Outlookウィンドウ右上のトグルでクラシックに切り替えられます</p>
</div></div>



<p class="wp-block-paragraph">2026年4月ごろから個人向けでは新しいOutlookがデフォルトになり始めていますが、右上のトグルでクラシックへ戻せば今までどおりVBAが使えます</p>



<p class="wp-block-paragraph">どうしても新しいOutlookで自動化したい場合は、VBAではなく<strong><span class="swl-marker mark_yellow">Power AutomateやMicrosoft Graph</span></strong>へ寄せることになります、このあたりはMicrosoftが代替手段として案内しているので、頭の片隅に置いておくと安心です</p>



<p class="wp-block-paragraph">VBAはバージョンによって動かなくなることがあるので、このプログラムを作成・利用している私の環境はこちらです</p>



<figure class="wp-block-table"><table><tbody><tr><th>OS</th><td>Windows 10 / 11</td></tr><tr><th>Outlookの種類</th><td>クラシックOutlook（Microsoft 365 / Office 2021以降、32bit・64bit両対応）</td></tr><tr><th>動作対象外</th><td>新しいOutlook（New Outlook）はVBA非対応のため使えません</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">参照設定</h2>



<p class="wp-block-paragraph">プログラムを作り始める前に、まずは参照設定からです</p>



<p class="wp-block-paragraph">外部ライブラリを読み込んだ方がプログラムを作りやすいので、今回はOutlook用の「<strong><span class="swl-marker mark_yellow">Microsoft Outlook 16.0 Object Library</span></strong>」を有効にしてあげます</p>



<p class="wp-block-paragraph">VBE（Visual Basic Editor）のメニューから「ツール」→「参照設定」と進んで、リストの中からチェックを入れるだけです</p>



<figure class="wp-block-image size-full is-style-shadow"><a href="https://javeo.jp/wp-content/uploads/2024/04/2024-04-16_22h31_12.png" target="_blank" rel="noopener noreferrer"><img decoding="async" width="455" height="317" src="https://javeo.jp/wp-content/uploads/2024/04/2024-04-16_22h31_12.png" alt="VBEの参照設定でMicrosoft Outlook 16.0 Object Libraryにチェックを入れる画面" class="wp-image-2056" srcset="https://javeo.jp/wp-content/uploads/2024/04/2024-04-16_22h31_12.png 455w, https://javeo.jp/wp-content/uploads/2024/04/2024-04-16_22h31_12-300x209.png 300w, https://javeo.jp/wp-content/uploads/2024/04/2024-04-16_22h31_12-150x105.png 150w" sizes="(max-width: 455px) 100vw, 455px" /></a></figure>



<h2 class="wp-block-heading">全体プログラム</h2>



<p class="wp-block-paragraph">説明はいいからとにかくマクロが欲しいって方へ</p>



<p class="wp-block-paragraph">標準モジュールに全部コピペすれば使えるはずです</p>



<div class="swell-block-accordion">
<details class="swell-block-accordion__item" data-swl-acc="wrapper"><summary class="swell-block-accordion__title" data-swl-acc="header"><span class="swell-block-accordion__label">コード全文（コピペ用）</span><span class="swell-block-accordion__icon c-switchIconBtn" data-swl-acc="icon" aria-hidden="true" data-opened="false"><i class="__icon--closed icon-caret-down"></i><i class="__icon--opened icon-caret-up"></i></span></summary><div class="swell-block-accordion__body" data-swl-acc="body">
<div class="hcb_wrap"><pre class="prism line-numbers lang-vba" data-file="main.bas" data-lang="Visual Basic + VBA"><code>Declare PtrSafe Function SHCreateDirectoryEx Lib &quot;shell32&quot; _
    Alias &quot;SHCreateDirectoryExA&quot; _
    (ByVal hwnd As LongPtr, _
     ByVal pszPath As String, _
     ByVal psa As LongPtr) As Long
&#39;---後で編集しやすいように列番号は列挙型で宣言しておく
Enum lngCol
    Account = 1
    FolderName
    SenderEmailAddress
    MailTO
    MailCC
    MailBCC
    ReceivedTime
    MailSubject
    MailBody
    AttachmentsCount
End Enum
Public ws As Worksheet
Sub GetOutlookMail()
Dim oApp As New Outlook.Application
Dim oNS As Outlook.Namespace
Dim oFld As Outlook.Folder

&#39;---画面更新処理を止めておく
With Application
    .ScreenUpdating = False
    .DisplayAlerts = False
End With

&#39;---出力するシートの設定
Set ws = CreateSheet
ws.Select
ws.Range(Cells(2, 1), Cells(Cells(Rows.Count, 1).End(xlUp).Row + 1, 1)).EntireRow.Delete

&#39;---MAPIをセット
Set oNS = oApp.GetNamespace(&quot;MAPI&quot;)
For Each oFld In oNS.Folders
    &#39;---アカウント名を継承させながらフォルダを再帰処理しながら検索する
    Call SearchFolder(oFld.Name, &quot;&quot;, oFld)
Next
Set oNS = Nothing

Set ws = Nothing
&#39;---画面更新処理を復旧させる
With Application
    .ScreenUpdating = True
    .DisplayAlerts = True
End With

&#39;---終了メッセージ
MsgBox &quot;更新完了しました&quot;
End Sub
Private Function SearchFolder(Account As String, FolderPath As String, TargetFolder As Outlook.Folder)
&#39;==============================
&#39;メールフォルダを再帰処理で検索する
&#39;==============================
Dim oFld As Outlook.Folder

&#39;---同期の問題と同期の失敗フォルダを除外する処置
If TargetFolder.Name Like &quot;同期の*&quot; Then
    Exit Function
End If

&#39;---フォルダタイプがメールだったら中のメール情報を取得する
If TargetFolder.DefaultItemType = olMailItem Then
    Call GetMailData(Account, FolderPath, TargetFolder)
End If

&#39;---フォルダ情報をパンくず形式で継承しつつ再帰処理させる
For Each oFld In TargetFolder.Folders
    Call SearchFolder(Account, FolderPath & IIf(Len(FolderPath) &gt; 0, &quot; &gt; &quot;, &quot;&quot;) & oFld.Name, oFld)
Next
End Function
Private Function GetMailData(Account As String, TargetFolderName As String, TargetFolder As Outlook.Folder)
&#39;==============================
&#39;対象フォルダからメール情報を取得してエクセルに反映させる
&#39;==============================
Dim oItems As Outlook.Items
Dim oItem As Outlook.MailItem
Dim oAtt As Outlook.Attachment
Dim i As Long
Dim lngRow As Long
Dim strFilter
Dim savePath As String

With ws
    .Select
    Set oItems = TargetFolder.Items
    &#39;---ステータスバーに取得フォルダ等を表示する
    Application.StatusBar = &quot;「&quot; & Account & &quot;」の「&quot; & TargetFolderName & &quot;」から&quot; & oItems.Count & &quot;件のデータ取得中・・・&quot;
    &#39;---取得したメールを反映させる
    For i = 1 To oItems.Count
        &#39;---データがメールタイプじゃない可能性があるので確認して取得する
        If oItems(i).Class = olMail Then
            &#39;---入力行（最下行の次）を取得する
            lngRow = .Cells(Rows.Count, 1).End(xlUp).Row + 1
            &#39;---メールアイテムを変数にセットする
            Set oItem = oItems(i)
            .Cells(lngRow, lngCol.Account).Value = Account
            .Cells(lngRow, lngCol.FolderName).Value = TargetFolderName
            .Cells(lngRow, lngCol.SenderEmailAddress).Value = oItem.SenderEmailAddress
            .Cells(lngRow, lngCol.MailTO).Value = SplitMailStr(oItem.To, oItem.Recipients)
            .Cells(lngRow, lngCol.MailCC).Value = SplitMailStr(oItem.CC, oItem.Recipients)
            .Cells(lngRow, lngCol.MailBCC).Value = SplitMailStr(oItem.BCC, oItem.Recipients)
            .Cells(lngRow, lngCol.ReceivedTime).Value = oItem.ReceivedTime
            With .Cells(lngRow, lngCol.MailSubject)
                .NumberFormatLocal = &quot;@&quot; &#39;---先頭文字が=(イコール)などで始まるとエラーになるから表示形式を文字列にする
                .Value = oItem.Subject
                .WrapText = False &#39;---折り返し表示すると動作が重くなるので解除する
                .NumberFormatLocal = &quot;G/標準&quot; &#39;---表示形式を標準に戻す
            End With
            With .Cells(lngRow, lngCol.MailBody)
                .NumberFormatLocal = &quot;@&quot; &#39;---本文が=(イコール)で始まるとエラーになるから表示形式を文字列にする
                .Value = oItem.Body
                .WrapText = False &#39;---折り返し表示すると動作が重くなるので解除する
                .NumberFormatLocal = &quot;G/標準&quot; &#39;---表示形式を標準に戻す
            End With
            &#39;---添付ファイルを取得する
            .Cells(lngRow, lngCol.AttachmentsCount).Value = oItem.Attachments.Count
            For Each oAtt In oItem.Attachments
                &#39;---受信日時をベースにフルパスフォルダ名を決める
                savePath = ThisWorkbook.Path & &quot;\att\&quot; & Format(oItem.ReceivedTime, &quot;yyyymmdd_hhmm&quot;)
                &#39;---多重階層フォルダを作成する
                rc = SHCreateDirectoryEx(0&, savePath, 0&)
                &#39;---ここで実際にフォルダを作成する
                oAtt.SaveAsFile savePath & &quot;\&quot; & oAtt.Filename
            Next
            &#39;---内外全てにグレー罫線を引く
            With .Range(Cells(lngRow, lngCol.Account), Cells(lngRow, lngCol.AttachmentsCount)).Borders()
                .LineStyle = xlContinuous
                .Weight = xlThin
                .Color = RGB(128, 128, 128)
            End With
            Set oItem = Nothing
        End If
    Next
    &#39;---ステータスバーをリセットする
    Application.StatusBar = False
End With
End Function
Private Function SplitMailStr(MailStr As String, RecipientsData As Recipients)
&#39;==============================
&#39;宛先が複数ある場合は;（セミコロン）区切りになっているので一度分解してChangeAliasで変換した後に結合する
&#39;==============================
Dim i As Long, MailArray As Variant

MailArray = Split(MailStr, &quot;;&quot;)
For i = LBound(MailArray) To UBound(MailArray)
    MailArray(i) = ChangeAlias(MailArray(i), RecipientsData)
Next
SplitMailStr = Join(MailArray, &quot;;&quot;)
End Function
Private Function ChangeAlias(Alias As Variant, RecipientsData As Recipients)
&#39;==============================
&#39;宛先情報がエイリアスになっている場合があるからメアドに変換する
&#39;==============================
Dim RecipientData As Recipient
&#39;---@が含まれているならメアドなのでそのまま
If Alias Like &quot;*@*&quot; Then
    ChangeAlias = Alias
    Exit Function
End If

&#39;---表示名が受信者情報と一致していたらアドレスに変換する
For Each RecipientData In RecipientsData
    If Trim(RecipientData.Name) = Trim(Alias) Then
        ChangeAlias = RecipientData.Address
        Exit Function
    End If
Next

&#39;---変換できなかったらそのまま返す ※ココに到達することはないはず
ChangeAlias = Alias
End Function
Private Function CreateSheet(Optional SheetName = &quot;OUTPUT&quot;) As Worksheet
Set CreateSheet = ThisWorkbook.Worksheets.Add(After:=ThisWorkbook.Worksheets(ThisWorkbook.Worksheets.Count))
With CreateSheet
    &#39;---シート名を変えるけど重複する可能性があるのでエラー無視する
    On Error Resume Next
    .Name = SheetName
    On Error GoTo 0
    &#39;---ヘッダー部の設定
    .Cells(1, lngCol.Account).Value = &quot;Account&quot;
    .Cells(1, lngCol.FolderName).Value = &quot;FolderName&quot;
    .Cells(1, lngCol.SenderEmailAddress).Value = &quot;SenderEmailAddress&quot;
    .Cells(1, lngCol.MailTO).Value = &quot;MailTO&quot;
    .Cells(1, lngCol.MailCC).Value = &quot;MailCC&quot;
    .Cells(1, lngCol.MailBCC).Value = &quot;MailBCC&quot;
    .Cells(1, lngCol.ReceivedTime).Value = &quot;ReceivedTime&quot;
    .Cells(1, lngCol.MailSubject).Value = &quot;MailSubject&quot;
    .Cells(1, lngCol.MailBody).Value = &quot;MailBody&quot;
    .Cells(1, lngCol.AttachmentsCount).Value = &quot;AttachmentsCount&quot;
    With .Range(Cells(1, lngCol.Account), Cells(1, lngCol.AttachmentsCount))
        .EntireColumn.ColumnWidth = 19.88
        .Interior.Color = RGB(191, 191, 191)
        With .Borders()
            .LineStyle = xlContinuous
            .Weight = xlThin
            .Color = RGB(128, 128, 128)
        End With
    End With
End With
End Function</code></pre></div>
</div></details>
</div>


<div class="p-blogParts post_content" data-partsID="5650">
<style>
.jv-req{margin:2em 0;padding:20px;border:1px solid #E4E8F0;border-radius:12px;background:#F4F6FB}
.jv-req p{margin:0}
.jv-req .jv-req__eb{font-size:11px;font-weight:700;letter-spacing:.12em;color:#3B5BDB}
.jv-req .jv-req__title{margin:.2em 0 .3em;font-size:18px;font-weight:700;letter-spacing:-.01em;color:#1F2933}
.jv-req .jv-req__lead{margin-bottom:.6em;font-size:14px;color:#1F2933}
.jv-req .jv-req__price{margin-bottom:1em;font-size:14px;font-weight:700;color:#2F49B0}
.jv-req .jv-req__btns{display:flex;flex-wrap:wrap;gap:10px}
.jv-req .jv-req__btn{display:inline-block;box-sizing:border-box;width:15em;padding:8px 18px;border-radius:8px;font-size:14px;font-weight:700;line-height:20px;text-align:center;text-decoration:none}
.jv-req .jv-req__btn--cc{background:#3B5BDB;color:#fff}
.jv-req .jv-req__btn--cw{border:1px solid #3B5BDB;background:#fff;color:#2F49B0}
.jv-req .jv-req__btn:hover{opacity:.85}
.jv-req .jv-req__note{margin-top:.6em;font-size:12px;color:#7B8794}
@media (max-width:599px){
  .jv-req .jv-req__btns{flex-direction:column}
  .jv-req .jv-req__btn{width:auto}
}
</style>
<div class="jv-req" data-cta-type="vba">
<p class="jv-req__eb">ORDER</p>
<p class="jv-req__title">このマクロ、代わりに作ります</p>
<p class="jv-req__lead">記事どおりに動かない・作る時間がないときは、代わりに作ります<br>会社員の副業なので、対応は平日夜と土日です</p>
<p class="jv-req__price">ココナラ 10,000円〜</p>
<div class="jv-req__btns">
<a class="jv-req__btn jv-req__btn--cc" href="https://coconala.com/services/526856" target="_blank" rel="noopener noreferrer">ココナラで見る</a>
<a class="jv-req__btn jv-req__btn--cw" href="https://javeo.jp/crowdworks-order/?from=vba" target="_blank" rel="noopener noreferrer">クラウドワークスで頼む</a>
</div>
<p class="jv-req__note">会社からのご依頼も、契約と支払いはココナラ・クラウドワークスを通します(個人で受けています)</p>
<p class="jv-req__note">はじめての方へ:<a href="https://javeo.jp/coconala-order/" target="_blank" rel="noopener noreferrer">ココナラで頼む流れ</a> / <a href="https://javeo.jp/crowdworks-order/" target="_blank" rel="noopener noreferrer">クラウドワークスで頼む流れ</a></p>
</div>
<script>
(function(){
if(window.jvReqBound){return;}
window.jvReqBound=1;
document.addEventListener("click",function(e){
var a=e.target;
if(!a||!a.closest){return;}
a=a.closest(".jv-req a");
if(!a){return;}
var box=a.closest(".jv-req");
var t=box?box.getAttribute("data-cta-type"):"";
if(typeof gtag==="function"){gtag("event","jutaku_cta_click",{cta_type:t,link_url:a.href});}
else{window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:"jutaku_cta_click",cta_type:t,link_url:a.href});}
},true);
})();
</script>

</div>


<h2 class="wp-block-heading">プロシージャ別の説明</h2>



<p class="wp-block-paragraph">ここからはプロシージャ別に分解して、少し詳しく説明します</p>



<h3 class="wp-block-heading">共通部分</h3>



<div class="hcb_wrap"><pre class="prism line-numbers lang-vba" data-lang="Visual Basic + VBA"><code>Declare PtrSafe Function SHCreateDirectoryEx Lib &quot;shell32&quot; _
    Alias &quot;SHCreateDirectoryExA&quot; _
    (ByVal hwnd As LongPtr, _
     ByVal pszPath As String, _
     ByVal psa As LongPtr) As Long
&#39;---後で編集しやすいように列番号は列挙型で宣言しておく
Enum lngCol
    Account = 1
    FolderName
    SenderEmailAddress
    MailTO
    MailCC
    MailBCC
    ReceivedTime
    MailSubject
    MailBody
    AttachmentsCount
End Enum
Public ws As Worksheet</code></pre></div>



<p class="wp-block-paragraph"><strong>SHCreateDirectoryEx</strong>は多重階層でフォルダを作成する時のWindows APIです<br>添付ファイルを保存する時に使うので宣言しておきます</p>



<p class="wp-block-paragraph"><strong>lngCol</strong>は列挙型で列番号を宣言しておくとプログラムが作りやすい気がする、個人的なお作法です</p>



<p class="wp-block-paragraph"><strong>ws</strong>はプロシージャを跨いで使うのでPublicで宣言しておきます</p>



<h3 class="wp-block-heading">GetOutlookMail</h3>



<div class="hcb_wrap"><pre class="prism line-numbers lang-vba" data-lang="Visual Basic + VBA"><code>Sub GetOutlookMail()
Dim oApp As New Outlook.Application
Dim oNS As Outlook.Namespace
Dim oFld As Outlook.Folder

&#39;---画面更新処理を止めておく
With Application
    .ScreenUpdating = False
    .DisplayAlerts = False
End With

&#39;---出力するシートの設定
Set ws = CreateSheet
ws.Select
ws.Range(Cells(2, 1), Cells(Cells(Rows.Count, 1).End(xlUp).Row + 1, 1)).EntireRow.Delete

&#39;---MAPIをセット
Set oNS = oApp.GetNamespace(&quot;MAPI&quot;)
For Each oFld In oNS.Folders
    &#39;---アカウント名を継承させながらフォルダを再帰処理しながら検索する
    Call SearchFolder(oFld.Name, &quot;&quot;, oFld)
Next
Set oNS = Nothing

Set ws = Nothing
&#39;---画面更新処理を復旧させる
With Application
    .ScreenUpdating = True
    .DisplayAlerts = True
End With

&#39;---終了メッセージ
MsgBox &quot;更新完了しました&quot;
End Sub</code></pre></div>



<p class="wp-block-paragraph">メインのプロシージャです</p>



<p class="wp-block-paragraph">これ自体にはたいして説明する部分はないですが、画面更新を止めるのは個人的なお作法です</p>



<p class="wp-block-paragraph">ポイントは<strong>GetNamespace(&#8220;MAPI&#8221;)</strong>で、ここでOutlookのデータ階層にアクセスして、<strong><span class="swl-marker mark_yellow">アカウントごとのフォルダを順番にたどっていきます</span></strong></p>



<h3 class="wp-block-heading">SearchFolder</h3>



<div class="hcb_wrap"><pre class="prism line-numbers lang-vba" data-lang="Visual Basic + VBA"><code>Private Function SearchFolder(Account As String, FolderPath As String, TargetFolder As Outlook.Folder)
&#39;==============================
&#39;メールフォルダを再帰処理で検索する
&#39;==============================
Dim oFld As Outlook.Folder

&#39;---同期の問題と同期の失敗フォルダを除外する処置
If TargetFolder.Name Like &quot;同期の*&quot; Then
    Exit Function
End If

&#39;---フォルダタイプがメールだったら中のメール情報を取得する
If TargetFolder.DefaultItemType = olMailItem Then
    Call GetMailData(Account, FolderPath, TargetFolder)
End If

&#39;---フォルダ情報をパンくず形式で継承しつつ再帰処理させる
For Each oFld In TargetFolder.Folders
    Call SearchFolder(Account, FolderPath & IIf(Len(FolderPath) &gt; 0, &quot; &gt; &quot;, &quot;&quot;) & oFld.Name, oFld)
Next
End Function</code></pre></div>



<p class="wp-block-paragraph">Outlookがアカウントを起点としたフォルダ構成になっているので、<strong><span class="swl-marker mark_yellow">再帰処理で順番にフォルダを巡りながら</span></strong>、そのフォルダからメール情報を取得するようにしています</p>



<p class="wp-block-paragraph">フォルダの中には連絡先などメールフォルダではないものがあるので、メールを取得する対象かどうか<strong>DefaultItemType</strong>で判定しています</p>



<h3 class="wp-block-heading">GetMailData</h3>



<div class="hcb_wrap"><pre class="prism line-numbers lang-vba" data-lang="Visual Basic + VBA"><code>Private Function GetMailData(Account As String, TargetFolderName As String, TargetFolder As Outlook.Folder)
&#39;==============================
&#39;対象フォルダからメール情報を取得してエクセルに反映させる
&#39;==============================
Dim oItems As Outlook.Items
Dim oItem As Outlook.MailItem
Dim oAtt As Outlook.Attachment
Dim i As Long
Dim lngRow As Long
Dim rc As Long
Dim strFilter
Dim savePath As String

With ws
    .Select
    Set oItems = TargetFolder.Items
    &#39;---ステータスバーに取得フォルダ等を表示する
    Application.StatusBar = &quot;「&quot; & Account & &quot;」の「&quot; & TargetFolderName & &quot;」から&quot; & oItems.Count & &quot;件のデータ取得中・・・&quot;
    &#39;---取得したメールを反映させる
    For i = 1 To oItems.Count
        &#39;---データがメールタイプじゃない可能性があるので確認して取得する
        If oItems(i).Class = olMail Then
            &#39;---入力行（最下行の次）を取得する
            lngRow = .Cells(Rows.Count, 1).End(xlUp).Row + 1
            &#39;---メールアイテムを変数にセットする
            Set oItem = oItems(i)
            .Cells(lngRow, lngCol.Account).Value = Account
            .Cells(lngRow, lngCol.FolderName).Value = TargetFolderName
            .Cells(lngRow, lngCol.SenderEmailAddress).Value = oItem.SenderEmailAddress
            .Cells(lngRow, lngCol.MailTO).Value = SplitMailStr(oItem.To, oItem.Recipients)
            .Cells(lngRow, lngCol.MailCC).Value = SplitMailStr(oItem.CC, oItem.Recipients)
            .Cells(lngRow, lngCol.MailBCC).Value = SplitMailStr(oItem.BCC, oItem.Recipients)
            .Cells(lngRow, lngCol.ReceivedTime).Value = oItem.ReceivedTime
            With .Cells(lngRow, lngCol.MailSubject)
                .NumberFormatLocal = &quot;@&quot; &#39;---先頭文字が=(イコール)などで始まるとエラーになるから表示形式を文字列にする
                .Value = oItem.Subject
                .WrapText = False &#39;---折り返し表示すると動作が重くなるので解除する
                .NumberFormatLocal = &quot;G/標準&quot; &#39;---表示形式を標準に戻す
            End With
            With .Cells(lngRow, lngCol.MailBody)
                .NumberFormatLocal = &quot;@&quot; &#39;---本文が=(イコール)で始まるとエラーになるから表示形式を文字列にする
                .Value = oItem.Body
                .WrapText = False &#39;---折り返し表示すると動作が重くなるので解除する
                .NumberFormatLocal = &quot;G/標準&quot; &#39;---表示形式を標準に戻す
            End With
            &#39;---添付ファイルを取得する
            .Cells(lngRow, lngCol.AttachmentsCount).Value = oItem.Attachments.Count
            For Each oAtt In oItem.Attachments
                &#39;---受信日時をベースにフルパスフォルダ名を決める
                savePath = ThisWorkbook.Path & &quot;\att\&quot; & Format(oItem.ReceivedTime, &quot;yyyymmdd_hhmm&quot;)
                &#39;---多重階層フォルダを作成する
                rc = SHCreateDirectoryEx(0&, savePath, 0&)
                &#39;---ここで実際にフォルダを作成する
                oAtt.SaveAsFile savePath & &quot;\&quot; & oAtt.Filename
            Next
            &#39;---内外全てにグレー罫線を引く
            With .Range(Cells(lngRow, lngCol.Account), Cells(lngRow, lngCol.AttachmentsCount)).Borders()
                .LineStyle = xlContinuous
                .Weight = xlThin
                .Color = RGB(128, 128, 128)
            End With
            Set oItem = Nothing
        End If
    Next
    &#39;---ステータスバーをリセットする
    Application.StatusBar = False
End With
End Function</code></pre></div>



<p class="wp-block-paragraph">これがズバリ、メール情報の取得部分でポイントが何点か・・・</p>



<p class="wp-block-paragraph">For Nextでループしているとメールタイプじゃないアイテムも検知してしまい、型エラーの原因になるので<strong><span class="swl-marker mark_yellow">Classでメールかどうか判断しています</span></strong></p>



<p class="wp-block-paragraph">TO・CC・BCCはそのままだと連絡先のエイリアスが反映してしまい、メアドがわからなくなってしまうので、サブプロシージャで変換するようにします</p>



<p class="wp-block-paragraph">件名と本文はExcelに反映させた時、標準書式の状態で<strong>=</strong>や<strong>@</strong>が先頭だと数式判定になってエラーになるので、反映前に文字列化→反映→標準書式へ戻す手順で反映させています</p>



<p class="wp-block-paragraph">添付ファイルを取得する時に、メールとの紐づきがわかるように受信日時のフォルダを作成してそこに保存するようにしていますが、判断しにくいなら適当に編集してもらえれば大丈夫です</p>



<h3 class="wp-block-heading">SplitMailStr</h3>



<div class="hcb_wrap"><pre class="prism line-numbers lang-vba" data-lang="Visual Basic + VBA"><code>Private Function SplitMailStr(MailStr As String, RecipientsData As Recipients)
&#39;==============================
&#39;宛先が複数ある場合は;（セミコロン）区切りになっているので一度分解してChangeAliasで変換した後に結合する
&#39;==============================
Dim i As Long, MailArray As Variant

MailArray = Split(MailStr, &quot;;&quot;)
For i = LBound(MailArray) To UBound(MailArray)
    MailArray(i) = ChangeAlias(MailArray(i), RecipientsData)
Next
SplitMailStr = Join(MailArray, &quot;;&quot;)
End Function</code></pre></div>



<p class="wp-block-paragraph">次の<strong>ChangeAlias</strong>のためのサブプロシージャです</p>



<p class="wp-block-paragraph">TOやCCに複数名設定されているとセミコロン（;）をデリミタで結合された状態になっていて、エイリアス→メアドの変換がうまくできないので、分解してそれぞれにChangeAliasします</p>



<h3 class="wp-block-heading">ChangeAlias</h3>



<div class="hcb_wrap"><pre class="prism line-numbers lang-vba" data-lang="Visual Basic + VBA"><code>Private Function ChangeAlias(Alias As Variant, RecipientsData As Recipients)
&#39;==============================
&#39;宛先情報がエイリアスになっている場合があるからメアドに変換する
&#39;==============================
Dim RecipientData As Recipient
&#39;---@が含まれているならメアドなのでそのまま
If Alias Like &quot;*@*&quot; Then
    ChangeAlias = Alias
    Exit Function
End If

&#39;---表示名が受信者情報と一致していたらアドレスに変換する
For Each RecipientData In RecipientsData
    If Trim(RecipientData.Name) = Trim(Alias) Then
        ChangeAlias = RecipientData.Address
        Exit Function
    End If
Next

&#39;---変換できなかったらそのまま返す ※ココに到達することはないはず
ChangeAlias = Alias
End Function</code></pre></div>



<p class="wp-block-paragraph"><strong>GetMailData</strong>にも書いた通り、エイリアスをメアドに変える処理です</p>



<p class="wp-block-paragraph">Recipientsの中にエイリアスとメアドのセット情報があるので、変換元になるエイリアスと一致したら<strong><span class="swl-marker mark_yellow">メアドを返してあげます</span></strong></p>



<h3 class="wp-block-heading">CreateSheet</h3>



<div class="hcb_wrap"><pre class="prism line-numbers lang-vba" data-lang="Visual Basic + VBA"><code>Private Function CreateSheet(Optional SheetName = &quot;OUTPUT&quot;) As Worksheet
Set CreateSheet = ThisWorkbook.Worksheets.Add(After:=ThisWorkbook.Worksheets(ThisWorkbook.Worksheets.Count))
With CreateSheet
    &#39;---シート名を変えるけど重複する可能性があるのでエラー無視する
    On Error Resume Next
    .Name = SheetName
    On Error GoTo 0
    &#39;---ヘッダー部の設定
    .Cells(1, lngCol.Account).Value = &quot;Account&quot;
    .Cells(1, lngCol.FolderName).Value = &quot;FolderName&quot;
    .Cells(1, lngCol.SenderEmailAddress).Value = &quot;SenderEmailAddress&quot;
    .Cells(1, lngCol.MailTO).Value = &quot;MailTO&quot;
    .Cells(1, lngCol.MailCC).Value = &quot;MailCC&quot;
    .Cells(1, lngCol.MailBCC).Value = &quot;MailBCC&quot;
    .Cells(1, lngCol.ReceivedTime).Value = &quot;ReceivedTime&quot;
    .Cells(1, lngCol.MailSubject).Value = &quot;MailSubject&quot;
    .Cells(1, lngCol.MailBody).Value = &quot;MailBody&quot;
    .Cells(1, lngCol.AttachmentsCount).Value = &quot;AttachmentsCount&quot;
    With .Range(Cells(1, lngCol.Account), Cells(1, lngCol.AttachmentsCount))
        .EntireColumn.ColumnWidth = 19.88
        .Interior.Color = RGB(191, 191, 191)
        With .Borders()
            .LineStyle = xlContinuous
            .Weight = xlThin
            .Color = RGB(128, 128, 128)
        End With
    End With
End With
End Function</code></pre></div>



<p class="wp-block-paragraph">出力先になるシートをセットします</p>



<p class="wp-block-paragraph">ヘッダーの文字に書式と罫線を設定していますが、内容はお好みでどうぞ</p>



<h2 class="wp-block-heading">あとがき</h2>



<p class="wp-block-paragraph"><strong>ChangeAlias</strong>をはじめ、満足な結果を得るためには面倒な箇所があったので、地味に時間がかかりました・・</p>



<p class="wp-block-paragraph">実際にExcelでマクロにするときは取得対象期間を設定できるようにしたり改修の余地はあるのですが、プログラムだけで公開するとややこしくなるのでここでは反映していません</p>



<p class="wp-block-paragraph">私はこのマクロで目的を達成しましたが、他にも取得できる情報はあるので、上記プログラムでは不十分な方がいればコメントいただけると改修して更新しますね</p>



<p class="wp-block-paragraph">VBAでメールまわりを触る話だと、送信側を自動化したい方も多いと思います、GmailをVBAから送る方法は<a href="https://javeo.jp/vba-gmail-send/" target="_blank" rel="noopener noreferrer">VBAでGmailを送信する（CDO）</a>でまとめているので、あわせてどうぞ</p>


<div class="p-blogParts post_content" data-partsID="4601">
<div class="jv-books" data-shelf="vba" data-default="vba"><div class="jv-books-head"><span class="jv-books-title"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 私のおすすめ本</span><span class="jv-books-pr">PR</span></div><div class="jv-bk"><input type="radio" class="jv-tin jv-t-vba" name="jvb-vba" id="jvb-vba-vba" data-tab="vba" checked><input type="radio" class="jv-tin jv-t-python" name="jvb-vba" id="jvb-vba-python" data-tab="python"><input type="radio" class="jv-tin jv-t-ai" name="jvb-vba" id="jvb-vba-ai" data-tab="ai"><input type="radio" class="jv-tin jv-t-soft" name="jvb-vba" id="jvb-vba-soft" data-tab="soft"><div class="jv-tabs"><label class="jv-tl jv-l-vba" for="jvb-vba-vba" data-tab="vba">VBA</label><label class="jv-tl jv-l-python" for="jvb-vba-python" data-tab="python">Python</label><label class="jv-tl jv-l-ai" for="jvb-vba-ai" data-tab="ai">AI・Claude</label><label class="jv-tl jv-l-soft" for="jvb-vba-soft" data-tab="soft">PC仕事術</label></div><div class="jv-panels"><div class="jv-panel jv-p-vba" data-tab="vba"><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4815630437?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4815630437" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/0430/9784815630430_1_10.jpg?_ex=240x240" alt="Excel マクロ&amp;VBA やさしい教科書 Office 2024/2021 Microsoft 365対応" width="120" height="170" loading="lazy"><p class="jv-card-title">Excel マクロ&amp;VBA やさしい教科書 Office 2024/2021 Microsoft 365対応</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4815630437?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4815630437" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18081399%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18081399%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4815630437" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4297119234?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4297119234" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/9232/9784297119232.jpg?_ex=240x240" alt="てっとり早く確実にマスターできる Excel VBAの教科書 改訂新版" width="120" height="170" loading="lazy"><p class="jv-card-title">てっとり早く確実にマスターできる Excel VBAの教科書 改訂新版</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4297119234?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4297119234" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16602480%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16602480%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4297119234" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4867752525?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4867752525" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/2524/9784867752524_1_5.jpg?_ex=240x240" alt="Excel マクロ/VBA 今日から使える業務の自動化入門" width="120" height="170" loading="lazy"><p class="jv-card-title">Excel マクロ/VBA 今日から使える業務の自動化入門</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4867752525?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4867752525" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18686064%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18686064%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4867752525" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4908327114?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4908327114" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/7117/9784908327117.jpg?_ex=240x240" alt="VBAエキスパート公式テキスト Excel VBAベーシック" width="120" height="170" loading="lazy"><p class="jv-card-title">VBAエキスパート公式テキスト Excel VBAベーシック</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4908327114?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4908327114" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F15943106%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F15943106%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4908327114" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4297156180?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4297156180" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/6183/9784297156183_1_31.jpg?_ex=240x240" alt="［最速入門］ChatGPTに任せる Excelマクロ&amp;VBA" width="120" height="170" loading="lazy"><p class="jv-card-title">［最速入門］ChatGPTに任せる Excelマクロ&amp;VBA</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4297156180?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4297156180" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18600027%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18600027%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="vba" data-book="4297156180" data-mall="rakuten">楽天</a></div></div></div><div class="jv-panel jv-p-python" data-tab="python"><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4814401523?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4814401523" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/1529/9784814401529_1_3.jpg?_ex=240x240" alt="退屈なことはPythonにやらせよう 第3版" width="120" height="170" loading="lazy"><p class="jv-card-title">退屈なことはPythonにやらせよう 第3版</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4814401523?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4814401523" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18513569%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18513569%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4814401523" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4839973857?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4839973857" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/3858/9784839973858.jpg?_ex=240x240" alt="シゴトがはかどる Python自動処理の教科書" width="120" height="170" loading="lazy"><p class="jv-card-title">シゴトがはかどる Python自動処理の教科書</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4839973857?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4839973857" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16520665%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16520665%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4839973857" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4839988307?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4839988307" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/8302/9784839988302_1_4.jpg?_ex=240x240" alt="もっとシゴトがはかどる Python×Excel×AI 業務自動化の教科書" width="120" height="170" loading="lazy"><p class="jv-card-title">もっとシゴトがはかどる Python×Excel×AI 業務自動化の教科書</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4839988307?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4839988307" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18238595%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18238595%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4839988307" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4798182605?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4798182605" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/2605/9784798182605_1_148.jpg?_ex=240x240" alt="Python2年生 スクレイピングのしくみ 第2版" width="120" height="170" loading="lazy"><p class="jv-card-title">Python2年生 スクレイピングのしくみ 第2版</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4798182605?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4798182605" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17821975%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17821975%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4798182605" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4295016365?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4295016365" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/6366/9784295016366_1_4.jpg?_ex=240x240" alt="スッキリわかるPython入門 第2版" width="120" height="170" loading="lazy"><p class="jv-card-title">スッキリわかるPython入門 第2版</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4295016365?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4295016365" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17608703%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17608703%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="python" data-book="4295016365" data-mall="rakuten">楽天</a></div></div></div><div class="jv-panel jv-p-ai" data-tab="ai"><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4297153548?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4297153548" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/3540/9784297153540_1_34.jpg?_ex=240x240" alt="実践Claude Code入門" width="120" height="170" loading="lazy"><p class="jv-card-title">実践Claude Code入門</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4297153548?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4297153548" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18439208%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18439208%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4297153548" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4297152754?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4297152754" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/2758/9784297152758_1_58.jpg?_ex=240x240" alt="Claude CodeによるAI駆動開発入門" width="120" height="170" loading="lazy"><p class="jv-card-title">Claude CodeによるAI駆動開発入門</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4297152754?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4297152754" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18401065%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18401065%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4297152754" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4839990204?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4839990204" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/0206/9784839990206_1_4.jpg?_ex=240x240" alt="開発効率をアップする! Claude Code 実用入門" width="120" height="170" loading="lazy"><p class="jv-card-title">開発効率をアップする! Claude Code 実用入門</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4839990204?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4839990204" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18585359%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18585359%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4839990204" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/429502340X?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="429502340X" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/3401/9784295023401_1_6.jpg?_ex=240x240" alt="Microsoft 365 Copilot踏み込み活用術" width="120" height="170" loading="lazy"><p class="jv-card-title">Microsoft 365 Copilot踏み込み活用術</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/429502340X?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="429502340X" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18401830%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18401830%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="429502340X" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4295024848?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4295024848" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/4842/9784295024842_1_3.jpg?_ex=240x240" alt="できるClaude &amp; Claude Cowork" width="120" height="170" loading="lazy"><p class="jv-card-title">できるClaude &amp; Claude Cowork</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4295024848?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4295024848" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18647512%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18647512%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="ai" data-book="4295024848" data-mall="rakuten">楽天</a></div></div></div><div class="jv-panel jv-p-soft" data-tab="soft"><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4296204572?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4296204572" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/4571/9784296204571_1_7.jpg?_ex=240x240" alt="できる人のパソコン仕事術 なんと効率10倍!" width="120" height="170" loading="lazy"><p class="jv-card-title">できる人のパソコン仕事術 なんと効率10倍!</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4296204572?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4296204572" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17897537%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17897537%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4296204572" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4295024155?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4295024155" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/4156/9784295024156_1_7.jpg?_ex=240x240" alt="できるWindows 11パーフェクトブック 困った!&amp;便利ワザ大全 改訂3版" width="120" height="170" loading="lazy"><p class="jv-card-title">できるWindows 11パーフェクトブック 困った!&amp;便利ワザ大全 改訂3版</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4295024155?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4295024155" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18526931%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18526931%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4295024155" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/429501995X?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="429501995X" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/9954/9784295019954_1_2.jpg?_ex=240x240" alt="できるポケット 時短の王道 ショートカットキー全事典 改訂4版" width="120" height="170" loading="lazy"><p class="jv-card-title">できるポケット 時短の王道 ショートカットキー全事典 改訂4版</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/429501995X?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="429501995X" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17910290%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17910290%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="429501995X" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4296205773?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4296205773" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/5776/9784296205776_1_3.jpg?_ex=240x240" alt="ビジュアル ショートカットキー時短ワザ事典" width="120" height="170" loading="lazy"><p class="jv-card-title">ビジュアル ショートカットキー時短ワザ事典</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4296205773?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4296205773" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17933666%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17933666%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4296205773" data-mall="rakuten">楽天</a></div></div><div class="jv-card"><a class="jv-card-main" href="https://www.amazon.co.jp/dp/4297141183?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4297141183" data-mall="amazon"><img decoding="async" src="https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/1189/9784297141189_1_2.jpg?_ex=240x240" alt="取り急ぎ、パソコン仕事の基本だけ教えてください！" width="120" height="170" loading="lazy"><p class="jv-card-title">取り急ぎ、パソコン仕事の基本だけ教えてください！</p></a><div class="jv-card-links"><a class="jv-mall jv-mall-az" href="https://www.amazon.co.jp/dp/4297141183?tag=javeo2022-22" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4297141183" data-mall="amazon">Amazon</a><a class="jv-mall jv-mall-rk" href="https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17823385%2F&#038;m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17823385%2F" target="_blank" rel="nofollow sponsored noopener noreferrer" data-shelf="vba" data-tab="soft" data-book="4297141183" data-mall="rakuten">楽天</a></div></div></div></div></div><p class="jv-books-note">ジャンルごとに私のおすすめからランダムで5冊を表示しています</p></div>
<style>
.jv-books{border:1px solid #e0e0e0;border-radius:8px;padding:14px 16px 12px;margin:1.5em 0;background:#fff}
.jv-books-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.jv-books-title{font-weight:700;font-size:1.05em}
.jv-books-pr{font-size:.7em;color:#888;border:1px solid #ccc;border-radius:3px;padding:1px 6px;flex-shrink:0}
.jv-bk{position:relative}
.jv-tin{position:absolute;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none;margin:0}
.jv-tabs{display:flex;gap:4px;border-bottom:2px solid #3b5bdb;overflow-x:auto;scrollbar-width:none}
.jv-tabs::-webkit-scrollbar{display:none}
.jv-tl{flex:0 0 auto;margin:0;padding:6px 14px;font-size:.8em;font-weight:700;line-height:1.4;color:#555;background:#f1f3f5;border-radius:6px 6px 0 0;cursor:pointer;white-space:nowrap;user-select:none}
.jv-tl:hover{background:#e3e7ec}
.jv-panel{display:none;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding-top:12px}
.jv-t-vba:checked~.jv-tabs .jv-l-vba{background:#3b5bdb;color:#fff}
.jv-t-vba:checked~.jv-panels .jv-p-vba{display:grid}
.jv-t-vba:focus-visible~.jv-tabs .jv-l-vba{outline:2px solid #3b5bdb;outline-offset:2px}
.jv-t-python:checked~.jv-tabs .jv-l-python{background:#3b5bdb;color:#fff}
.jv-t-python:checked~.jv-panels .jv-p-python{display:grid}
.jv-t-python:focus-visible~.jv-tabs .jv-l-python{outline:2px solid #3b5bdb;outline-offset:2px}
.jv-t-ai:checked~.jv-tabs .jv-l-ai{background:#3b5bdb;color:#fff}
.jv-t-ai:checked~.jv-panels .jv-p-ai{display:grid}
.jv-t-ai:focus-visible~.jv-tabs .jv-l-ai{outline:2px solid #3b5bdb;outline-offset:2px}
.jv-t-soft:checked~.jv-tabs .jv-l-soft{background:#3b5bdb;color:#fff}
.jv-t-soft:checked~.jv-panels .jv-p-soft{display:grid}
.jv-t-soft:focus-visible~.jv-tabs .jv-l-soft{outline:2px solid #3b5bdb;outline-offset:2px}
.jv-card{display:flex;flex-direction:column;min-width:0;text-align:center}
.jv-card-main{display:block;color:inherit!important;text-decoration:none!important}
.jv-card-main img{display:block;width:100%;height:150px;object-fit:contain;margin:0 auto;border:none}
.jv-card-title{font-size:.72em;font-weight:600;line-height:1.4;margin:6px 0;min-height:4.2em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.jv-card-main:hover .jv-card-title{color:#3b5bdb;text-decoration:underline}
.jv-card-links{display:flex;gap:4px;justify-content:center;margin-top:auto}
.jv-mall{font-size:.66em;font-weight:700;line-height:1.2;padding:3px 8px;border-radius:10px;white-space:nowrap;color:#fff!important;text-decoration:none!important}
.jv-mall:hover{opacity:.85}
.jv-mall-az{background:#e88b00}
.jv-mall-rk{background:#bf0000}
.jv-books-note{font-size:.7em;color:#999;text-align:right;margin:10px 0 0}
@media(max-width:599px){
.jv-books{padding:12px}
.jv-tl{padding:6px 10px}
.jv-panel{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:31%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
.jv-card{scroll-snap-align:start}
.jv-card-main img{height:130px}
.jv-card-links{gap:3px}
.jv-mall{padding:3px 6px}
}
</style>
<script>
(function(){
var PART='vba',RANDOM=false,N=5;
var all=document.querySelectorAll('.jv-books[data-shelf="'+PART+'"]');
var root=null;
for(var k=0;k<all.length;k++){if(!all[k].dataset.jvinit){root=all[k];break;}}
if(!root)return;
root.dataset.jvinit='1';
var POOL={"vba": [{"t": "Excel マクロ\u0026VBA やさしい教科書 Office 2024/2021 Microsoft 365対応", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/0430/9784815630430_1_10.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4815630437?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18081399%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18081399%2F", "id": "4815630437"}, {"t": "てっとり早く確実にマスターできる Excel VBAの教科書 改訂新版", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/9232/9784297119232.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4297119234?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16602480%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16602480%2F", "id": "4297119234"}, {"t": "Excel マクロ/VBA 今日から使える業務の自動化入門", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/2524/9784867752524_1_5.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4867752525?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18686064%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18686064%2F", "id": "4867752525"}, {"t": "VBAエキスパート公式テキスト Excel VBAベーシック", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/7117/9784908327117.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4908327114?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F15943106%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F15943106%2F", "id": "4908327114"}, {"t": "［最速入門］ChatGPTに任せる Excelマクロ\u0026VBA", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/6183/9784297156183_1_31.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4297156180?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18600027%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18600027%2F", "id": "4297156180"}, {"t": "Excel VBA逆引き辞典パーフェクト 第3版", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/6584/9784798146584.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4798146587?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F14251332%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F14251332%2F", "id": "4798146587"}, {"t": "Excel VBAのプログラミングのツボとコツがゼッタイにわかる本 第2版", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/5182/9784798065182_1_4.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4798065188?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16794620%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16794620%2F", "id": "4798065188"}], "python": [{"t": "退屈なことはPythonにやらせよう 第3版", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/1529/9784814401529_1_3.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4814401523?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18513569%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18513569%2F", "id": "4814401523"}, {"t": "シゴトがはかどる Python自動処理の教科書", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/3858/9784839973858.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4839973857?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16520665%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16520665%2F", "id": "4839973857"}, {"t": "もっとシゴトがはかどる Python×Excel×AI 業務自動化の教科書", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/8302/9784839988302_1_4.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4839988307?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18238595%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18238595%2F", "id": "4839988307"}, {"t": "Python2年生 スクレイピングのしくみ 第2版", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/2605/9784798182605_1_148.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4798182605?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17821975%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17821975%2F", "id": "4798182605"}, {"t": "スッキリわかるPython入門 第2版", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/6366/9784295016366_1_4.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4295016365?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17608703%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17608703%2F", "id": "4295016365"}, {"t": "改訂新版 Pythonエンジニア育成推進協会監修 Python実践レシピ", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/4899/9784297154899_1_28.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4297154897?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18515105%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18515105%2F", "id": "4297154897"}, {"t": "GeminiとはじめるPython仕事自動化プログラミング", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/5645/9784899775645_1_2.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4899775644?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18617236%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18617236%2F", "id": "4899775644"}], "ai": [{"t": "実践Claude Code入門", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/3540/9784297153540_1_34.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4297153548?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18439208%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18439208%2F", "id": "4297153548"}, {"t": "Claude CodeによるAI駆動開発入門", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/2758/9784297152758_1_58.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4297152754?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18401065%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18401065%2F", "id": "4297152754"}, {"t": "開発効率をアップする! Claude Code 実用入門", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/0206/9784839990206_1_4.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4839990204?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18585359%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18585359%2F", "id": "4839990204"}, {"t": "Microsoft 365 Copilot踏み込み活用術", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/3401/9784295023401_1_6.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/429502340X?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18401830%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18401830%2F", "id": "429502340X"}, {"t": "できるClaude \u0026 Claude Cowork", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/4842/9784295024842_1_3.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4295024848?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18647512%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18647512%2F", "id": "4295024848"}, {"t": "Claude仕事術", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/5304/9784815645304_1_11.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4815645302?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18632518%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18632518%2F", "id": "4815645302"}, {"t": "あらゆる仕事が爆速化する Claude Code徹底活用術", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/2901/9784534062901_1_2.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4534062907?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18631760%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18631760%2F", "id": "4534062907"}, {"t": "Microsoft 365 Copilot活用大全", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/0519/9784296080519_1_6.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4296080512?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18570834%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18570834%2F", "id": "4296080512"}, {"t": "［みのるん式］ビジネスパーソンのためのClaude Code仕事術", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/9399/9784297159399_1_43.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4297159392?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18748006%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18748006%2F", "id": "4297159392"}, {"t": "この1冊でしっかりわかる Claudeの教科書", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/5687/9784815645687_1_16.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/481564568X?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18628353%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18628353%2F", "id": "481564568X"}, {"t": "Google AI 仕事大全 Gemini・NotebookLM・AIエージェントをぜんぶ使う", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/6909/9784297156909_1_29.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4297156903?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18648290%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18648290%2F", "id": "4297156903"}], "soft": [{"t": "できる人のパソコン仕事術 なんと効率10倍!", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/4571/9784296204571_1_7.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4296204572?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17897537%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17897537%2F", "id": "4296204572"}, {"t": "できるWindows 11パーフェクトブック 困った!\u0026便利ワザ大全 改訂3版", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/4156/9784295024156_1_7.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4295024155?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18526931%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18526931%2F", "id": "4295024155"}, {"t": "できるポケット 時短の王道 ショートカットキー全事典 改訂4版", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/9954/9784295019954_1_2.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/429501995X?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17910290%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17910290%2F", "id": "429501995X"}, {"t": "ビジュアル ショートカットキー時短ワザ事典", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/5776/9784296205776_1_3.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4296205773?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17933666%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17933666%2F", "id": "4296205773"}, {"t": "取り急ぎ、パソコン仕事の基本だけ教えてください！", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/1189/9784297141189_1_2.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4297141183?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17823385%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F17823385%2F", "id": "4297141183"}, {"t": "ビジュアル 仕事が10倍速くなるエクセルワザ事典", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/7343/9784296207343_1_49.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4296207342?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18133500%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F18133500%2F", "id": "4296207342"}, {"t": "脱マウス最速仕事術", "img": "https://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/9229/9784478109229_1_2.jpg?_ex=240x240", "az": "https://www.amazon.co.jp/dp/4478109222?tag=javeo2022-22", "rk": "https://hb.afl.rakuten.co.jp/hgc/24ecde15.e492bb61.24ecde16.6c9a125b/?pc=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16383460%2F\u0026m=https%3A%2F%2Fbooks.rakuten.co.jp%2Frb%2F16383460%2F", "id": "4478109222"}]};
var REL='nofollow sponsored noopener noreferrer';
var uid='jvb'+Math.random().toString(36).slice(2,9);
var ins=root.querySelectorAll('.jv-tin'),lbs=root.querySelectorAll('.jv-tl');
var i;
for(i=0;i<ins.length;i++){ins[i].name=uid;ins[i].id=uid+'-'+ins[i].getAttribute('data-tab');}
for(i=0;i<lbs.length;i++){lbs[i].htmlFor=uid+'-'+lbs[i].getAttribute('data-tab');}
var pick=null;
if(RANDOM){pick=ins[Math.floor(Math.random()*ins.length)];}
else{var on=false;for(i=0;i<ins.length;i++){if(ins[i].checked)on=true;}
if(!on){pick=root.querySelector('.jv-tin[data-tab="'+root.getAttribute('data-default')+'"]');}}
if(pick)pick.checked=true;
function el(tag,cls){var e=document.createElement(tag);if(cls)e.className=cls;return e;}
function link(cls,href,mall,tab,id){var a=el('a',cls);a.href=href;a.target='_blank';a.rel=REL;
a.setAttribute('data-shelf',PART);a.setAttribute('data-tab',tab);a.setAttribute('data-book',id);a.setAttribute('data-mall',mall);return a;}
function card(b,tab){
var d=el('div','jv-card');
var m=link('jv-card-main',b.az,'amazon',tab,b.id);
var img=el('img');img.src=b.img;img.alt=b.t;img.width=120;img.height=170;img.loading='lazy';
var p=el('p','jv-card-title');p.textContent=b.t;
m.appendChild(img);m.appendChild(p);
var lk=el('div','jv-card-links');
var az=link('jv-mall jv-mall-az',b.az,'amazon',tab,b.id);az.textContent='Amazon';lk.appendChild(az);
if(b.rk){var rk=link('jv-mall jv-mall-rk',b.rk,'rakuten',tab,b.id);rk.textContent='楽天';lk.appendChild(rk);}
d.appendChild(m);d.appendChild(lk);return d;}
function shuffle(a){for(var x=a.length-1;x>0;x--){var y=Math.floor(Math.random()*(x+1));var t=a[x];a[x]=a[y];a[y]=t;}return a;}
var wrap=root.querySelector('.jv-panels');
wrap.style.opacity='0';
var ps=root.querySelectorAll('.jv-panel');
for(i=0;i<ps.length;i++){var tab=ps[i].getAttribute('data-tab');var pool=POOL[tab];if(!pool||!pool.length)continue;
while(ps[i].firstChild)ps[i].removeChild(ps[i].firstChild);
shuffle(pool.slice()).slice(0,N).forEach(function(b){ps[i].appendChild(card(b,tab));});}
wrap.style.transition='opacity .4s ease';
void wrap.offsetWidth;
wrap.style.opacity='1';
})();
</script>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://javeo.jp/get-outlook-data/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
