Hello,\n\nI have macros that automate the process of inserting a folder full of files\ninto a Word document, creating a new document, searching on specific\ncriteria, and inserting the documents that meet the critieria into the new\ndocument (the text files are separated by section breaks). Here is my issue.\n\nThe macros were originally created under a specific user name and worked\nwithout problems. The IT department added a user to the computer and I'm not\nexactly sure what else, but now there are problems. Some of the functions do\nnot work under the original user name but work under the new name created.\nI'm baffled as to why some would work under one name and not the other,\nespecially, when they worked fine under the original user.\n\nI am receiving a runtime error 5097 with this part of a function:\nWith Selection\n.InsertFile FileName:=myName, ConfirmConversions:=False\n<-\-\-\-\-the debugger stops on this line. It stops on random files each time it\nis ran.\n.InsertParagraphAfter\n.InsertBreak Type:=wdSectionBreakNextPage\n.Collapse direction:=wdCollapseEnd\nEnd With\n\nThis function works on the new user name but not the original user.\n\nOn the following, I am receiving a runtime 5941 error ("The requested member\nof the collection does not exist"):\nWindows("document1.docx").Activate <-\-\-Debugger stops on this\nline.\nSelection.Copy\nWindows("Count.docx").Activate\nSelection.PasteAndFormat (wdPasteDefault)\nSelection.EndKey unit:=wdStory\nActiveWindow.ActivePane.SmallScroll down:=-50\nWindows("document1.docx").Activate\nSelection.MoveDown\n\nFor the above, both documents are open at the time of running. This does\nnot work under the new user name but works under the prior user name. (The\ndocument name in quotes is changed to reflect document names and extensions\nshowing/not showing.)\n\nI have searched high and low for answers and have tried various fixes to no\navail. The IT department has told me that the only thing that they have done\nis added a user. I'm just short of trying to uninstall and reinstall Office\n2007 to see if that may fix the issues.\n\nAny ideas would be greatly appreciated. Thanks.