See the button labelled “Options…”? Click on it and you can fine tune your Save preferences.
The resultant dialog box looks like this: To see what’s going to be included in a document, create a new test doc and click “Save” from the “File” menu. Think about it too, because you don’t have to include any information whatsoever, so if you’re more comfortable omitting your street address, phone number, email address, etc., then just leave them blank. Here’s where you’ll want to make any changes you want to the default user information that’s going to be included in any Microsoft Office 2011 document, whether it’s from Excel, PowerPoint or Word.
To change the owner name, and a bunch more information in documents, including address, phone number, etc (information that the previous owner undoubtedly does not want included in every document you create, you need to launch MS Word and click on the “Word” menu:Ĭhoose the “Preferences…” option and you’ll see that Microsoft Office 2011 has a Preferences area that looks astonishingly similar to the Mac OS X System Preferences area:Ĭlick on “User Information” in the lower left and you’ll see all sorts of information about the previous owner, the person who installed and configured the app originally:
If you’ve gotten a computer with lots of useful software still installed - and it sounds like that’s what has occurred - then as a first step you’ll want to read my tutorial on How to Change the Owner Name on a Mac. That’s why I encourage people to quite literally start from scratch by reinstalling Mac OS X if they’re buying a used computer, whether from a private party or a company. Data about the user just seems to infiltrate all the nooks and crannies of the OS. Any ideas on how to get that image into Word 2011 for OSX and insert it under the cursor?Įdit: updated the link to the project since migrating to github.Unfortunately, like many different computers, Macintosh systems are easier to set up from scratch the way you want than to tweak and alter after it’s been used for a while. This script works, and will show the image file that I expect. Note that in the above, args.webAddr and args.filename are passed to the script using the argparse library. Print 'Error: The server could not fulfill the request.' # HTTP error code, see section 10 of RFC 2616 for details
# a tuple containing error code and text error messageĮlif hasattr(e, 'code'): # HTTP error case If hasattr(e, 'reason'): # URL error case Result = StringIO(urlopen(args.webAddr + args.filename).read())
# Send request to the server and receive response, with error handling! The image is read in as a PIL object and I can show it using img.show() just fine, but I am not sure what filetype this is or how to get VBA to accept it. The important bits of the script are below. UPDATE: I have created a Python script for getting the image file from a URL, but I still do not know how to get this image from the Python script into VBA, and from there into the Word document at the location of the cursor. Does anybody know of a way within VBA for Office 2011 to make this work, or barring that a workaround? I am trying to avoid writing the image file to the disk if possible. LinkToFile:=False, SaveWithDocument:=TrueĪfter doing some research, it looks like MS may have disabled this functionality in OSX as a "security risk".
The current attempt is as follows, and works in Windows but crashes Word in OSX: FileName:=File_Name, _
Now I have to insert an image in my Word file from a URL that is built using the return of my external script. I have overcome issues with VBA for OSX Word 2011 not allowing you to send POSTs to a server and have figured out how to return a string result from an external script. I am working on porting a project in Windows over to OSX.