Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
On my VBA form I have inbox where I can paste a folder location.
I have following code in my form rule that takes this string and saves the file.
strInputLocation = oLocation.Value
strBeamName = strInputLocation & "Part " & BoxName & ".ipt"
oDoc.SaveAs strBeamName, True
oDoc.Close True
Now file is saving alright, but there is problem with the location and file name. Expected part name is Part 9.ipt inside New folder but it is saving in a higher level folder "box " adding New folder to the file name. (New folderPart 9.ipt). see below.
any idea what is wrong.
Best regards,
sam
Solved! Go to Solution.