Applescript to set excel window default size?

whitecloud1

New Member
Joined
Aug 26, 2008
Messages
5
I just installed Office 2009 for Mac, having used Office X (a much earlier version). I'm using a small powerbook 12' and found that office programs open in windows which are not maximized and so I always had to use the mouse to drag and expand the window to fill the available screen area.

In Office X I was able to install a VB macro to set default in Word and Excel.
I found a website offering 2 useful applescripts for Word, including
1. Measure the dimensions and zoom of an open Word document (script 1)
2. Alter and save script 2 (template) to do this
3. Add a keyboard shortcut to do this.

Is there a similar option for Excel?
I can supply the original macro if necessary.

John
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Ok, the duplication has been removed or closed.

I assume the link to "show your sheet" etc. is not relevant to me

John
 
Last edited:
Upvote 0
OK, I installed the HTML addin in the correct folder but "Visual Basic Add-ins do not work in Office for Mac" (2008)
That's the error message.

JB
 
Upvote 0
No, the 'show your sheet' link is my signature. Nothing to do with your post. Signatures appear at the end of every post a person makes.

As far as the HTML Maker goes, nothing that can be done about that. Excel 2008 for Mac decided to go with AppleScript and remove VBA entirely.
 
Upvote 0
Thanks for explaining that. I'll investigate the applescript option. I can still use my Excel X for mac and visual basic.

Thanks
John
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,684
Members
449,116
Latest member
HypnoFant

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top