从PC到Mac转换MS Word 2002模板 [英] Converting MS Word 2002 Templates from PC to Mac

查看:97
本文介绍了从PC到Mac转换MS Word 2002模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须转换数百个MS Word 2002模板(在PC上)才能在Macintosh上工作.我必须评估Word模板是否可以在Mac的iWork Pages和Microsoft Word中运行.

I have to convert several hundred MS Word 2002 Templates (on the PC) to work on the Macintosh. I have to evaluate whether the Word Templates can be run in iWork Pages and Microsoft Word for the Mac.

我无法转换以下内容:

  • Word VBA
  • WordBasic代码
  • Visual Basic

这里有人可以提供任何建议吗?

Has anyone here done this and can provide any suggestions?

推荐答案

iWork很难,但是Word for Mac是可行的.它还取决于Word for Mac的版本-Office 2008版本没有VBA,只有AppleScript.据说VBA将在更高版本的Mac Office中恢复.如果要执行此操作,然后将所有模板都移到Mac上,而不是在Windows上再次使用它们,那么将其移植到AppleScript就是一种方法.如果要将它们同时留在PC和Macintosh上,则坚持使用VBA是可行的(但不能在Mac Office 2008上!).

iWork would be very difficult, but Word for Mac is doable. It also depends on which version of Word for Mac - the Office 2008 version doesn't have VBA, only AppleScript. It's said that VBA will be back in later versions of Mac Office. If you're going to do this and move all the templates to Mac and not use them on Windows again, porting things to AppleScript would be the way to go. If you're going to leave them on both PC and Macintosh's, sticking with VBA is the way to go (but not on Mac Office 2008!).

第一个是宏可以是WordBasic或VBA(应用程序的Visual Basic)-它们不会是Visual Basic,因为它不在Word环境之内(尽管可以从VB自动化Word).宏只是用WordBasic或VBA编写的一个或多个例程. WordBasic确实非常老,并且使用不多,因此转换的大部分可能来自VBA.

The first is that Macros can be either WordBasic or VBA (Visual Basic for Applications) - they won't be Visual Basic as that is outside of the Word environment (although Word can be automated from VB). Macros are just one or more routines written in WordBasic or VBA. WordBasic is really, really old and not used much, so the majority of your conversion will probably be from VBA.

无论如何,您都希望将WordBasic转换为VBA或AppleScript.这是一篇显示一些转换的文章: http://www.standards.com/OhMyWord/ExampleWB2VBA. html

No matter what, you'll want to convert out of WordBasic into either VBA or AppleScript. Here's an article that shows some conversions: http://www.standards.com/OhMyWord/ExampleWB2VBA.html

如果您在Mac Word(而不是2008!)上运行VBA,则几乎所有功能都可以正常运行.有一些事情需要更改,例如您如何处理文件和目录,但仅此而已.

If you're running VBA on Mac Word (not 2008!), almost all of it should work just fine. There are a few things to change, like how you work with files and diretories, but not much more than that.

如果要转换为AppleScript,则需要一些工作.在 http://www.mactech.com/vba上有很好的过渡指南-transition-guide/index.html (您必须订阅才能获取它).

If you want to convert to AppleScript, it takes a bit of work. There is a good transition guide on http://www.mactech.com/vba-transition-guide/index.html (you have to subscribe to get it).

这篇关于从PC到Mac转换MS Word 2002模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆