生理学実験技術データベース
Experimental Techniques for Physiological Sciences

H2-9 Last update: 2010-02-22

Microsoft Word の VBA を用いた簡易画像整列ソフトウェア

Making of image array software that uses VBA(Word)
用途 画像ファイルを整列させてコメントを付けた書類を作成する
It creates the document which put a comment to each of a lot of images.
特徴 Microsoft WordとVBAにより簡易に画像を整列できる便利なツール
使用制限 Microsoft Windows、Microsoft Word
使用法
  1. Word書類“ImageList06-10-18-25SR.doc”を開く
    It opens document "ImageList06-10-18-25SR.doc" with Word.
  2. マクロが無効のときは有効にする。
    If the macro is disabled, enable the macro.
○有効にする手順(Microsoft Office Word 2000、Word 2003)
 To enable the macro(Microsoft Office Word 2000、Word 2003)
  1. ツールメニューからマクロのセキュリティを選択
    clicking on the Tools menu, pointing to Macro,
  2. セキュリティを下げてマクロを実行可能にする。
    and then clicking Security. Setting the security level to Low or Middle allows a macro.
  3. マクロが有効のとき、ImageListウィンドウが開く。
    When the macro is enabled, ImageList window opens.
  4. Select Folderボタンクリック → フォルダー参照ウィンドウからフォルダを選択する。
    Click Select Folder button → to select the folder from the folder browser window.
  5. フォルダ内の画像ファイル(Tiffファイル,JPEGファイル,BMPファイル等)がリストボックス内に表示される。(リストボックス内のファイルの順番はファイル名を選択してドラッグすれば変更可)
    Image files in a folder (Tiff files, JPEG files, BMP files, etc.) that appears in the list box. (Order of the files in the list box can be changed if you select and drag the file name)
  6. ImageListウィンドウに画像配置を示すパネルが表示される。
    ImageList panel displays some images showing the alignment window.
  7. フォルダを選択していない状態では縦横の数に応じて画像を表示する領域が表示される。
    If you do not select a folder to view a display area according to the number of horizontal and vertical images.
  8. 画像の間隔をoffsetで調節する。
    The distance between images is adjusted by the value of OFFSET.
  9. タテヨコの画像数をCol.(横の枚数)とRow(縦の枚数)で決定する。
    Col . sets the horizontal number of sheets.
    Row sets the number of sheets in the vertical direction.
  10. Makeボタンを押すと実行される。(途中で止める場合はStopボタンを押す)
    When the Make button is pushed, it is executed.
    (The Stop button is pushed when stopping it on the way. )
  11. すべての画像やテキストを削除するときはボタンを押す。
    When all images and the texts are deleted, the Clear button is pushed.
  12. 保存するときは、ワードのファイルメニューから保存する。終了するときは右上のクローズボタンからウィンドウを閉じ、再度起動するときはワード上のImageListボタンから起動する。
    When Save is done, Save is done from the file menu of the word.
    The window is shut from an upper right close button when ending.
ダウンロード ImageList06-10-18-25SR.doc