🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.visualbasic
Article #754

Excel97のSheetの存在チェック方法

#754
From: Tomotaka Tsuji
Date: Wed, 04 Feb 1998 00:00
10 lines
1051 bytes
ExcelのVBAの記述で
Sheet("合計シート").Cells(1,1)に
もし「AAA」というSheetがあれば、そのSheetのCells(1,1)の値を、
なければ、空白(もしくは「0」)になるようにするには、どのようにすればよろし
いでしょうか?
以上のSheetの存在チェック方法をご存じの方はご教授お願いいたします。
on error next resume (resume next?)は使用不可です。
ツジ
tsu-ji-@sakuranet.or.jp
Technical Details
Message-ID: <6b8joh$ad7$1@news1.sphere.ad.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 105c2e,766c66ab6e28963e,start
X-Google-Attributes: gid105c2e,public
From: "Tomotaka Tsuji" <tsu-ji-@sakuranet.or.jp>
Subject: Excel97のSheetの存在チェック方法
Date: 1998/02/04
Message-ID: <6b8joh$ad7$1@news1.sphere.ad.jp>
X-Deja-AN: 321863171
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-2022-jp"
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: InfoSphere
Newsgroups: fj.lang.visualbasic