タイトル : Re^3: Name TestFile.Doc As NewFile.Docについて 投稿日 : 2008/03/01(Sat) 12:43 投稿者 : Do_Shirouto
> > > strPath = "C:\Documents and Settings\Owner\My Documents\Dog\" > > > > > wdDoc.SaveAs strPath & List1.Text > > > > Debug.Print strPath & List1.Text > > > > > > > strA = strPath & List1.Text > > Debug.Print strA > > > strB = strPath & "済" & List1.Text > > Debug.Print strB > > > > > Name strA As strB > > > > > > Debug.Print の結果を確認して見て下さい。 > > それで解らなければ結果を投稿してください。 > > 花ちゃんさん有難う御座いました。 > Debug.Print は下記のようになりました。 > 変数には思うとおりの文字列が入っていると思うのですが? > 個人情報はバレても何の関係もありませんので > 編集はして有りません。 > strAをKillしても良いですが、それも同じErrorがでます > '------------------------------------- > 'Debug.Print strPath & List1.Text > C:\Documents and Settings\Owner\My Documents\Dog\07-12-16チワワ1052.doc > 'Debug.Print strA > C:\Documents and Settings\Owner\My Documents\Dog\07-12-16チワワ1052.doc > 'Debug.Print strB > C:\Documents and Settings\Owner\My Documents\Dog\済07-12-16チワワ1052.doc 花ちゃんさん有難う御座いました。 解決いたしました。 wdDoc.Close がしてありませんでした。 お手数をおかけして誠に申し訳御座いませんでした。 有難う御座いました |