タイトル : dir取得について 投稿日 : 2008/02/10(Sun) 23:31 投稿者 : だめおやじ
以下のようなコードを作成しましたが、変数を使用しますとMyPatheがEmPty 値となります。変数は使用できないのでしょうか?。 Private Sub 取得() namae = "東京" MyPath = "C:\大阪\名古屋\福岡\ & namae & "\" " MyName = Dir(MyPath, vbDirectory) MsgBox MyPathe End if |