I have a spreadsheet that opens a word document in vba and then merges the data on sheet4 to the word document. Works great. Then I move it to a SharePoint server and it keeps coming back and saying it cant find the file, with the data, which is the file that is open already open. Again runs fine locally. So I'm thinking because its actually in a database and not in a file is the reason I have the problem, so I'm thinking create a local temporary workbook with the data sheet in it and merge that file instead. So the question becomes how to create the workbook, then add and name the sheet, then run my program to save data to the sheet ( this I have) and then save to the users documents folder, so that I can use that file to merge instead.
thanks for the help