最北端で暮らすSEのknowhow
VBで環境変数の値を使う
Environ関数を使う。引数に%はいらない。
Environ("USERPROFILE")
結果 C:\Documents And Settings\User
2007年11月21日
hiro
VB・VBA