{"id":3593,"date":"2013-09-13T14:15:47","date_gmt":"2013-09-13T05:15:47","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=3593"},"modified":"2013-09-13T14:15:47","modified_gmt":"2013-09-13T05:15:47","slug":"%e9%81%b8%e6%8a%9e%e7%af%84%e5%9b%b2%e5%86%85%e3%81%ab%e3%81%82%e3%82%8b%e7%89%b9%e5%ae%9a%e3%81%ae%e3%83%95%e3%82%a9%e3%83%b3%e3%83%88%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%82%92%e5%88%a5%e3%81%ae","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=3593","title":{"rendered":"\u9078\u629e\u7bc4\u56f2\u5185\u306b\u3042\u308b\u7279\u5b9a\u306e\u30d5\u30a9\u30f3\u30c8\u306e\u6587\u5b57\u5217\u3092\u5225\u306e\u30d5\u30a9\u30f3\u30c8\u306b\u7f6e\u304d\u63db\u3048\u308bWord\u30de\u30af\u30ed"},"content":{"rendered":"<p>\u9078\u629e\u7bc4\u56f2\u5185\u3067\u300c<span style=\"color: #ff0000; font-weight: bold;\">\uff2d\uff33 \u30b4\u30b7\u30c3\u30af<\/span>\u300d\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u300c<span style=\"color: #ff0000; font-weight: bold;\">\uff2d\uff33 \u660e\u671d<\/span>\u300d\u306b\u30de\u30af\u30ed\u3067\u5909\u66f4\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u8cea\u554f\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u51e6\u7406\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=1199\" title=\"\u9078\u629e\u7bc4\u56f2\u5185\u3067\u6587\u5b57\u5217\u691c\u7d22\u3092\u884c\u3046Word\u30de\u30af\u30ed\" target=\"_blank\">\u9078\u629e\u7bc4\u56f2\u5185\u3067\u6587\u5b57\u5217\u691c\u7d22\u3092\u884c\u3046Word\u30de\u30af\u30ed<\/a>\u300d\u3092\u5f53\u30d6\u30ed\u30b0\u3067\u7d39\u4ecb\u3057\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u3053\u306e\u30de\u30af\u30ed\u3092\u30d5\u30a9\u30f3\u30c8(\uff2d\uff33 \u30b4\u30b7\u30c3\u30af)\u3092\u691c\u7d22\u3059\u308b\u5f62\u306b\u76f4\u3059\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample1()\r\n  Dim r As Word.Range\r\n  Const SearchFontName As String = &quot;\uff2d\uff33 \u30b4\u30b7\u30c3\u30af&quot;\r\n  \r\n  Set r = Selection.Range\r\n  '\u9078\u629e\u7bc4\u56f2\u304c\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\r\n  If r.Font.Name = SearchFontName Then\r\n    HitProc r\r\n  Else\r\n    With r.Find\r\n      .Font.Name = SearchFontName\r\n      .Text = &quot;&quot;\r\n      .Replacement.Text = &quot;&quot;\r\n      .Forward = True\r\n      .Wrap = wdFindStop\r\n      .Format = True\r\n      .MatchCase = False\r\n      .MatchWholeWord = False\r\n      .MatchByte = False\r\n      .MatchAllWordForms = False\r\n      .MatchSoundsLike = False\r\n      .MatchWildcards = False\r\n      .MatchFuzzy = False\r\n      Do While .Execute\r\n        '\u9078\u629e\u7bc4\u56f2\u5185\u306e\u5834\u5408\u306e\u307f\u51e6\u7406\u5b9f\u884c\r\n        If r.InRange(Selection.Range) Then\r\n          HitProc r\r\n        End If\r\n      Loop\r\n    End With\r\n  End If\r\nEnd Sub\r\n\r\nPrivate Sub HitProc(ByRef r As Word.Range)\r\n'\u30d2\u30c3\u30c8\u3057\u305f\u5834\u5408\u306e\u51e6\u7406\r\n  r.Bold = True\r\n  r.Italic = True\r\n  r.Font.Color = wdColorWhite\r\n  r.HighlightColorIndex = wdRed\r\nEnd Sub<\/pre>\n<p>\u30c6\u30b9\u30c8\u7528\u306e\u6587\u66f8\u3067\u3053\u306e\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u7d50\u679c\u306f\u4e0b\u56f3\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_01-300x155.jpg\" alt=\"WordFontFind_01\" width=\"300\" height=\"155\" class=\"alignnone size-medium wp-image-3594\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_01-300x155.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_01.jpg 615w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u30de\u30af\u30ed\u3067\u51e6\u7406\u3055\u308c\u305f\u306e\u306f\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30bf\u30d6<\/span>\u300d\u3068\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u6587\u66f8<\/span>\u300d\u3060\u3051\u3067\u3001\u4ed6\u306e\uff2d\uff33 \u30b4\u30b7\u30c3\u30af\u306e\u6587\u5b57\u5217\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u633f\u5165<\/span>\u300d\u3084\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30ae\u30e3\u30e9\u30ea\u30fc<\/span>\u300d\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u5168\u4f53<\/span>\u300d\u306f\u51e6\u7406\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u305d\u308c\u3089\u306e\u6587\u5b57\u5217\u306e\u30d5\u30a9\u30f3\u30c8\u304c\u300c<span style=\"color: #ff0000; font-weight: bold;\">\uff2d\uff33 \u30b4\u30b7\u30c3\u30af (\u898b\u51fa\u3057\u306e\u30d5\u30a9\u30f3\u30c8 &#8211; \u65e5\u672c\u8a9e)<\/span>\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3067\u3001\u3053\u308c\u3089\u306e\u6587\u5b57\u3082\u542b\u3081\u3066\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u306f\u3001<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample2()\r\n'\u203b \u4e0b\u306e\u51e6\u7406\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u5197\u9577\u306b\u66f8\u3044\u3066\u3044\u307e\u3059\u3002\r\n  Dim r As Word.Range\r\n  Const SearchFontName As String = &quot;\uff2d\uff33 \u30b4\u30b7\u30c3\u30af&quot;\r\n  Const SearchFontName2 As String = &quot;+\u898b\u51fa\u3057\u306e\u30d5\u30a9\u30f3\u30c8 - \u65e5\u672c\u8a9e&quot;\r\n  \r\n  Set r = Selection.Range\r\n  '\u9078\u629e\u7bc4\u56f2\u304c\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\r\n  If r.Font.Name = SearchFontName Then\r\n    HitProc r\r\n  Else\r\n    With r.Find\r\n      .Font.Name = SearchFontName\r\n      .Text = &quot;&quot;\r\n      .Replacement.Text = &quot;&quot;\r\n      .Forward = True\r\n      .Wrap = wdFindStop\r\n      .Format = True\r\n      .MatchCase = False\r\n      .MatchWholeWord = False\r\n      .MatchByte = False\r\n      .MatchAllWordForms = False\r\n      .MatchSoundsLike = False\r\n      .MatchWildcards = False\r\n      .MatchFuzzy = False\r\n      Do While .Execute\r\n        '\u9078\u629e\u7bc4\u56f2\u5185\u306e\u5834\u5408\u306e\u307f\u51e6\u7406\u5b9f\u884c\r\n        If r.InRange(Selection.Range) Then\r\n          HitProc r\r\n        End If\r\n      Loop\r\n    End With\r\n  End If\r\n  \r\n  Set r = Selection.Range\r\n  '\u9078\u629e\u7bc4\u56f2\u304c\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\r\n  If r.Font.Name = SearchFontName2 Then\r\n    HitProc r\r\n  Else\r\n    With r.Find\r\n      .Font.Name = SearchFontName2\r\n      .Text = &quot;&quot;\r\n      .Replacement.Text = &quot;&quot;\r\n      .Forward = True\r\n      .Wrap = wdFindStop\r\n      .Format = True\r\n      .MatchCase = False\r\n      .MatchWholeWord = False\r\n      .MatchByte = False\r\n      .MatchAllWordForms = False\r\n      .MatchSoundsLike = False\r\n      .MatchWildcards = False\r\n      .MatchFuzzy = False\r\n      Do While .Execute\r\n        '\u9078\u629e\u7bc4\u56f2\u5185\u306e\u5834\u5408\u306e\u307f\u51e6\u7406\u5b9f\u884c\r\n        If r.InRange(Selection.Range) Then\r\n          HitProc r\r\n        End If\r\n      Loop\r\n    End With\r\n  End If\r\nEnd Sub\r\n\r\nPrivate Sub HitProc(ByRef r As Word.Range)\r\n'\u30d2\u30c3\u30c8\u3057\u305f\u5834\u5408\u306e\u51e6\u7406\r\n  r.Bold = True\r\n  r.Italic = True\r\n  r.Font.Color = wdColorWhite\r\n  r.HighlightColorIndex = wdRed\r\nEnd Sub<\/pre>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u898b\u51fa\u3057\u306e\u30d5\u30a9\u30f3\u30c8<\/span>\u300d\u3082\u691c\u7d22\u3057\u306a\u304f\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_02-300x155.jpg\" alt=\"WordFontFind_02\" width=\"300\" height=\"155\" class=\"alignnone size-medium wp-image-3595\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_02-300x155.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_02.jpg 615w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u307e\u305f\u3001\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306fFont\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u300c<span style=\"color: #ff0000; font-weight: bold;\">Name<\/span>\u300d\u30d7\u30ed\u30d1\u30c6\u30a3\u3057\u304b\u6307\u5b9a\u3057\u3066\u3044\u307e\u305b\u3093\u304c\u3001Font\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u305d\u308c\u4ee5\u5916\u306b\u3082\u300c<span style=\"color: #ff0000; font-weight: bold;\">NameAscii<\/span>\u300d\u300c<span style=\"color: #ff0000; font-weight: bold;\">NameBi<\/span>\u300d\u300c<span style=\"color: #ff0000; font-weight: bold;\">NameFarEast<\/span>\u300d\u300c<span style=\"color: #ff0000; font-weight: bold;\">NameOther<\/span>\u300d\u3068\u3044\u3063\u305f\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u6709\u308a\u3001\u6587\u66f8\u306b\u3088\u3063\u3066\u306f\u3053\u308c\u3089\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u5f53\u521d\u306e\u76ee\u7684\u3067\u3042\u3063\u305f\u300c<span style=\"color: #ff0000; font-weight: bold;\">\uff2d\uff33 \u30b4\u30b7\u30c3\u30af<\/span>\u300d\u3092\u691c\u7d22\u3057\u3066\u51e6\u7406\u3059\u308b\u306b\u306f\u3001\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5bfe\u8c61\u306b\u3057\u3066\u8907\u6570\u56de\u691c\u7d22\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u3092\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u51e6\u7406\u304c\u7169\u96d1\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u4eca\u56de\u306f\u5225\u306e\u65b9\u5411\u6027\u3068\u3057\u3066<strong>\u201c\u4e00\u6587\u5b57\u305a\u3064\u9806\u756a\u306b\u6587\u5b57\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u8abf\u3079\u3066\u51e6\u7406\u3092\u884c\u3046\u30de\u30af\u30ed\u201d<\/strong>\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample3()\r\n  Dim sel As Word.Range\r\n  Dim r As Word.Range\r\n  \r\n  Set sel = Selection.Range\r\n  Application.ScreenUpdating = False\r\n  For Each r In sel.Characters\r\n    If ChkFont(r, &quot;\uff2d\uff33 \u30b4\u30b7\u30c3\u30af&quot;) = True Then\r\n      HitProc r\r\n    End If\r\n  Next\r\n  Application.ScreenUpdating = True\r\n  sel.Select\r\nEnd Sub\r\n\r\nPrivate Sub HitProc(ByRef r As Word.Range)\r\n'\u30d2\u30c3\u30c8\u3057\u305f\u5834\u5408\u306e\u51e6\u7406\r\n  r.Bold = True\r\n  r.Italic = True\r\n  r.Font.Color = wdColorWhite\r\n  r.HighlightColorIndex = wdRed\r\nEnd Sub\r\n\r\nPrivate Function ChkFont(ByVal Target As Word.Range, ByVal FontName As String) As Boolean\r\n  Dim ret As Boolean\r\n  Dim dlg As Word.Dialog\r\n  \r\n  ret = False '\u521d\u671f\u5316\r\n  Target.Select\r\n  Set dlg = Application.Dialogs(wdDialogFormatFont)\r\n  If Selection.Font.Name = FontName Then\r\n    ret = True\r\n  ElseIf Selection.Font.NameAscii = FontName Then\r\n    ret = True\r\n  ElseIf Selection.Font.NameBi = FontName Then\r\n    ret = True\r\n  ElseIf Selection.Font.NameFarEast = FontName Then\r\n    ret = True\r\n  ElseIf Selection.Font.NameOther = FontName Then\r\n    ret = True\r\n  ElseIf dlg.Font = FontName Then\r\n    ret = True\r\n  ElseIf dlg.FontHighAnsi = FontName Then\r\n    ret = True\r\n  ElseIf dlg.FontLowAnsi = FontName Then\r\n    ret = True\r\n  ElseIf dlg.FontNameBi = FontName Then\r\n    ret = True\r\n  ElseIf Application.Dialogs(wdDialogInsertSymbol).Font = FontName Then\r\n    ret = True\r\n  End If\r\n  ChkFont = ret\r\nEnd Function<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3067\u306f\u3001Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eCharacters\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u4e00\u6587\u5b57\u305a\u3064\u9806\u756a\u306b\u6587\u5b57\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u8abf\u3079\u3066\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\uff2d\uff33 \u30b4\u30b7\u30c3\u30af<\/span>\u300d\u3060\u3063\u305f\u5834\u5408\u306b\u306e\u307f\u51e6\u7406\u3092\u884c\u3046\u4ed5\u7d44\u307f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>(\u30d5\u30a9\u30f3\u30c8\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308bChkFont\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u30fc\u3067\u306f\u3001Font\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u3001\u30d5\u30a9\u30f3\u30c8\u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u5404\u9805\u76ee\u3001\u8a18\u53f7\u3068\u7279\u6b8a\u6587\u5b57\u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u30d5\u30a9\u30f3\u30c8\u6b04\u3092\u4e00\u3064\u305a\u3064\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u4ee5\u524d\u4e00\u90e8\u306e\u30b7\u30f3\u30dc\u30eb\u30d5\u30a9\u30f3\u30c8\u304c\u691c\u7d22\u306b\u5f15\u3063\u639b\u304b\u3089\u306a\u304b\u3063\u305f\u3053\u3068\u304c\u3042\u308a\u3001\u305d\u306e\u5bfe\u5fdc\u3068\u3057\u3066\u7d30\u304b\u304f\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3001\u901a\u5e38\u306f\u3053\u3053\u307e\u3067\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002)<\/p>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4e00\u6587\u5b57\u305a\u3064\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u308b\u4ed5\u69d8\u4e0a\u6642\u9593\u306f\u639b\u304b\u308a\u307e\u3059\u304c\u3001\u4e0b\u56f3\u306e\u901a\u308a\u610f\u56f3\u901a\u308a\u306e\u51e6\u7406\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_03-300x155.jpg\" alt=\"WordFontFind_03\" width=\"300\" height=\"155\" class=\"alignnone size-medium wp-image-3596\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_03-300x155.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_03.jpg 615w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3067\u306f\u3001\u8996\u899a\u7684\u306b\u5206\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u30d2\u30c3\u30c8\u3057\u305f\u6587\u5b57\u306e\u8272\u3084\u592a\u5b57\u8a2d\u5b9a\u306a\u3069\u3092\u5909\u66f4\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306bHitProc\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u30fc\u306e\u51e6\u7406\u3092\u76ee\u7684\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3059\u308c\u3070\u3001\u6700\u521d\u306e\u8cea\u554f\u306b\u3042\u308b\u3088\u3046\u306b\u3001\u9078\u629e\u7bc4\u56f2\u5185\u306b\u3042\u308b\u7279\u5b9a\u306e\u30d5\u30a9\u30f3\u30c8\u306e\u6587\u5b57\u5217\u3092\u5225\u306e\u30d5\u30a9\u30f3\u30c8\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample4()\r\n'\u9078\u629e\u7bc4\u56f2\u5185\u306b\u3042\u308b\u300c\uff2d\uff33 \u30b4\u30b7\u30c3\u30af\u300d\u306e\u6587\u5b57\u5217\u3092\u300c\uff2d\uff33 \u660e\u671d\u300d\u306b\u5909\u66f4\u3059\u308b\r\n  Dim sel As Word.Range\r\n  Dim r As Word.Range\r\n  \r\n  Set sel = Selection.Range\r\n  Application.ScreenUpdating = False\r\n  For Each r In sel.Characters\r\n    If ChkFont(r, &quot;\uff2d\uff33 \u30b4\u30b7\u30c3\u30af&quot;) = True Then\r\n      HitProc r\r\n    End If\r\n  Next\r\n  Application.ScreenUpdating = True\r\n  sel.Select\r\nEnd Sub\r\n\r\nPrivate Sub HitProc(ByRef r As Word.Range)\r\n'\u30d2\u30c3\u30c8\u3057\u305f\u5834\u5408\u306e\u51e6\u7406\r\n  r.Font.Name = &quot;\uff2d\uff33 \u660e\u671d&quot;\r\n  r.Font.NameAscii = &quot;\uff2d\uff33 \u660e\u671d&quot;\r\n  r.Font.NameFarEast = &quot;\uff2d\uff33 \u660e\u671d&quot;\r\n  r.Font.NameOther = &quot;\uff2d\uff33 \u660e\u671d&quot;\r\nEnd Sub\r\n\r\nPrivate Function ChkFont(ByVal Target As Word.Range, ByVal FontName As String) As Boolean\r\n  Dim ret As Boolean\r\n  Dim dlg As Word.Dialog\r\n  \r\n  ret = False '\u521d\u671f\u5316\r\n  Target.Select\r\n  Set dlg = Application.Dialogs(wdDialogFormatFont)\r\n  If Selection.Font.Name = FontName Then\r\n    ret = True\r\n  ElseIf Selection.Font.NameAscii = FontName Then\r\n    ret = True\r\n  ElseIf Selection.Font.NameBi = FontName Then\r\n    ret = True\r\n  ElseIf Selection.Font.NameFarEast = FontName Then\r\n    ret = True\r\n  ElseIf Selection.Font.NameOther = FontName Then\r\n    ret = True\r\n  ElseIf dlg.Font = FontName Then\r\n    ret = True\r\n  ElseIf dlg.FontHighAnsi = FontName Then\r\n    ret = True\r\n  ElseIf dlg.FontLowAnsi = FontName Then\r\n    ret = True\r\n  ElseIf dlg.FontNameBi = FontName Then\r\n    ret = True\r\n  ElseIf Application.Dialogs(wdDialogInsertSymbol).Font = FontName Then\r\n    ret = True\r\n  End If\r\n  ChkFont = ret\r\nEnd Function<\/pre>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_04.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_04-300x155.jpg\" alt=\"WordFontFind_04\" width=\"300\" height=\"155\" class=\"alignnone size-medium wp-image-3597\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_04-300x155.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/WordFontFind_04.jpg 615w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u9078\u629e\u7bc4\u56f2\u5185\u3067\u300c\uff2d\uff33 \u30b4\u30b7\u30c3\u30af\u300d\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u300c\uff2d\uff33 \u660e\u671d\u300d\u306b\u30de\u30af\u30ed\u3067\u5909\u66f4\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u8cea\u554f\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u51e6\u7406\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002 \u300c\u9078\u629e\u7bc4\u56f2\u5185\u3067\u6587\u5b57\u5217\u691c\u7d22\u3092\u884c\u3046Word\u30de\u30af\u30ed\u300d\u3092\u5f53\u30d6\u30ed\u30b0\u3067\u7d39\u4ecb\u3057\u305f\u3053\u3068\u304c [&hellip;]","protected":false},"author":1,"featured_media":7134,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,49],"tags":[],"class_list":["post-3593","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-word-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Word.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-VX","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3593"}],"version-history":[{"count":1,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3593\/revisions"}],"predecessor-version":[{"id":3598,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3593\/revisions\/3598"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7134"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}