{"id":2498,"date":"2026-03-03T18:27:20","date_gmt":"2026-03-03T09:27:20","guid":{"rendered":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/?p=2498"},"modified":"2026-03-03T18:27:20","modified_gmt":"2026-03-03T09:27:20","slug":"post-2498","status":"publish","type":"post","link":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/archives\/2498","title":{"rendered":"Excel \u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306e\u9078\u629e"},"content":{"rendered":"<p>Excel\u3067\u30b7\u30fc\u30c8\u304c\u305f\u304f\u3055\u3093\u306b\u306a\u308b\u3068\u63a2\u3059\u306e\u304c\u3068\u3066\u3082\u9762\u5012\u3067\u3057\u305f\u3002\u4e00\u89a7\u306b\u3057\u3066\u3001\u30af\u30ea\u30c3\u30af\u3067\u30b8\u30e3\u30f3\u30d7\u3067\u304d\u308b\u3068\u4fbf\u5229\u306a\u306e\u306b\u3001\u306a\u305c\u305d\u3046\u3044\u3046\u6a5f\u80fd\u304c\u306a\u3044\u306e\u304b\u3002VBA\u3067\u4f5c\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u3046\u3044\u3046\u30d5\u30a9\u30fc\u30e0\u3092\u3064\u304f\u3063\u3066\u3001<\/p>\n<p><img decoding=\"async\" src=\"\/labo\/suzuki\/wp-content\/uploads\/2026\/03\/260303form.png\" alt=\"VBA userform\" width=\"337\" class=\"alignnone\" \/><\/p>\n<p>\u3053\u3046\u3044\u3046\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n<pre class='code'>\r\nPrivate Sub SheetList_Click()\r\n    Sheets(SheetList.Value).Select\r\n    Unload JumpWorksheetForm\r\nEnd Sub\r\n\r\nPrivate Sub UserForm_Initialize()\r\n    Dim sh As Worksheet\r\n    Dim list_height As Integer\r\n    \r\n    list_height = ActiveWorkbook.Sheets.Count * 10\r\n    list_height = Application.WorksheetFunction.Max(list_height, 40)\r\n    list_height = Application.WorksheetFunction.Min(list_height, 240)\r\n    JumpWorksheetForm.Height = list_height + 30\r\n    \r\n    With SheetList\r\n        .Height = list_height\r\n        For Each sh In ActiveWorkbook.Sheets\r\n            .AddItem sh.Name\r\n        Next sh\r\n    End With\r\nEnd Sub\r\n<\/pre>\n<p>\u3055\u3089\u306bPERSONAL.XLSB\u306b\u30d5\u30a9\u30fc\u30e0\u3092\u547c\u3073\u51fa\u3059\u30b3\u30fc\u30c9\u3092\u3064\u3051\u3001Ctrl + Shift + J\u3067\u547c\u3073\u51fa\u3059\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class='code'>\r\nSub JumpWorksheet()\r\n    JumpWorksheetForm.Show\r\nEnd Sub\r\n<\/pre>\n<h3>\u5f8c\u306e\u796d\u308a<\/h3>\n<p>\u5b8c\u6210\u3057\u305f\u3042\u3068\u3067\u3001Excel\u306e\u6a19\u6e96\u6a5f\u80fd\u306b\u540c\u3058\u3082\u306e\u304c\u3042\u308b\u306e\u3092\u767a\u898b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30a6\u30a3\u30f3\u30c9\u30a6\u4e0b\u90e8\u306e\u3001\u30b7\u30fc\u30c8\u540d\u306e\u5de6\u306b\u3042\u308b\u77e2\u5370\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3067\u3001<\/p>\n<p><img decoding=\"async\" src=\"\/labo\/suzuki\/wp-content\/uploads\/2026\/03\/260303excel.png\" alt=\"excel window\" width=\"316\" class=\"alignnone \" \/><\/p>\n<p>\u3053\u3046\u3044\u3046\u3082\u306e\u304c\u51fa\u3066\u304f\u308b<\/p>\n<p><img decoding=\"async\" src=\"\/labo\/suzuki\/wp-content\/uploads\/2026\/03\/260303dialog.png\" alt=\"sheet select\" width=\"286\" class=\"alignnone size-full\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel\u3067\u30b7\u30fc\u30c8\u304c\u305f\u304f\u3055\u3093\u306b\u306a\u308b\u3068\u63a2\u3059\u306e\u304c\u3068\u3066\u3082\u9762\u5012\u3067\u3057\u305f\u3002\u4e00\u89a7\u306b\u3057\u3066\u3001\u30af\u30ea\u30c3\u30af\u3067\u30b8\u30e3\u30f3\u30d7\u3067\u304d\u308b\u3068\u4fbf\u5229\u306a\u306e\u306b\u3001\u306a\u305c\u305d\u3046\u3044\u3046\u6a5f\u80fd\u304c\u306a\u3044\u306e\u304b\u3002VBA\u3067\u4f5c\u308a\u307e\u3057\u305f\u3002 \u3053\u3046\u3044\u3046\u30d5\u30a9\u30fc\u30e0\u3092\u3064\u304f\u3063\u3066\u3001 \u3053\u3046\u3044\u3046\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3057\u305f\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/2498"}],"collection":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/comments?post=2498"}],"version-history":[{"count":5,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/2498\/revisions"}],"predecessor-version":[{"id":2506,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/2498\/revisions\/2506"}],"wp:attachment":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/media?parent=2498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/categories?post=2498"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/tags?post=2498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}