[Transferred][Problem]Microsoft Word: "Macros in this project are disabled"

C# 自定义文本编辑器控件中 中文重复出现问题 毕设时做的一个代码编辑器,基于开源项目Fireball(http://www.codeplex.com/dotnetfireball)。在其中实现了语法加亮,括号匹配等通用代码编辑器的基础上,添加了基于DLL文件的智能提示功能。不过随后发现当输入中文的时候,在代码编辑器中会重复出现输入的中文。 最近,当时的老师让修改一下这个bug,追踪代码中的事件处理,发现当输入中文的时候有两个事件WM_IME 阅读详情

When starting and closing Microsoft Word, a message box appears headed "Microsoft Visual Basic" which states: "The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros."

Solution

This problem may be resolved either by enabling macros, or by removing the macros. Macros are Visual Basic program code that can be embedded in a document to perform some function. However, macros may be used for malicious purposes (for example, macro viruses).

Method 1

Enable macro support in Microsoft Word.

  • Scan your computer for viruses using an up-to-date virus checker, to ensure that the macros are not malicious. If the virus checker finds a virus, do not enable macro support.
  • Click on Tools, Macros, Security or Tools, Options and select the Security tab (depending on your version of Microsoft Word.)
  • Click the Advanced or Macro Security button.
  • Set the security level for macros to Medium.
  • Click OK to save the changes.
Method 2

Remove the default document template containing the macros. This method will, unfortunately, cause some Microsoft Word preferences to be lost.

  • Start Microsoft Word.
  • Click on Tools, Options and select File Locations.
  • Note the location of the User Templates folder.
  • Close Microsoft Word.
  • Using Windows Explorer, navigate to the User Templates folder.
  • Select the file normal.dot and rename it to xnormal.dot.
  • Restart Microsoft Word and a new, default normal.dot will be created.
Applies to:
  • Microsoft Word (all versions)

 

From: http://www.the-pc-guru.com/Microsoft_Word_Macros_in_t.php

深入解析CRC16查表法:从原理到Modbus协议实践 本文深入解析了CRC16查表法的核心原理与实现,重点阐述了其“空间换时间”的优化思想。通过对比直接计算法,详细说明了查表法如何通过预计算表格将计算速度提升数十倍,并提供了完整的Modbus CRC16查表法代码生成、解析及实战避坑指南,帮助开发者在嵌入式及工业通信场景中高效实现可靠的数据校验。 阅读详情

相关推荐

头歌MySQL数据库实训答案 有目录

头歌java实训答案集数据库部分一条一条的写,可鼠标手动粘贴,除特定命令外未分大小写。 第1关:创建数据库 第2关创建表 第3关:使用主键约束 第4关:外键约束 第5关:添加常用约束 MySQL数据库 - 数据库和表的基本操作(一) 第1关:查看表结构与修改表名 第2关:修改字段名与字段数据类型 第3关:添加与删除字段 第4关:修改字段的排列位置 第5关:删除表的外键约束 MySQL数据库 - 数据库和表的基本操作(二) 第1关:插入数据 第2关:更新数据 第3关:删除数据 MySQL数据库 - 单表查询(

m0_67401761的博客 4万+

Word 如何关闭 “Macros have been disabled”

点赞,关注,转发就是对博主最大的支持! Word每次打开都要弹出这个,很烦人 如何关闭呢? 完成! 参考:Enable or disable macros in Office files

thompson的博客 2013

ESP32搭配LVGL显示图片的两种方法详解:内部存储 vs 外部文件

本文详细介绍了ESP32搭配LVGL显示图片的两种方法:内部存储与外部文件。内部存储方案适合快速响应的小图片,而外部文件方案则适用于需要灵活更新和大容量图片的场景。通过对比分析,帮助开发者根据项目需求选择最优方案,提升嵌入式系统的UI性能。

weixin_30399821的博客 519

excel启用宏在哪里_Excel 2010在不启用的情况下运行宏

excel启用宏在哪里 Excel 2010在不启用的情况下运行宏 (Excel 2010 Runs Macros Without Enabling) In the old days, if you opened a file that contained macros, a warning message popped up on the screen. That has changed, an...

culiao2169的博客 1458

手把手教你用STM32F103的IO口模拟XY2-100协议驱动数字振镜(附Keil O3优化代码)

本文详细介绍了如何使用STM32F103的IO口模拟XY2-100协议驱动数字振镜,包括协议解析、偶校验算法、寄存器级优化及Keil O3编译下的性能调优。通过硬件配置、核心代码实现和优化技巧,帮助开发者实现高速二维偏转控制,适用于工业激光雕刻和精密定位系统。

weixin_42527401的博客 261

科研党必备:Python脚本批量下载DOI文献的保姆级教程(附避坑指南)

本文为科研人员提供了一份详细的Python脚本批量下载DOI文献的教程,涵盖环境配置、核心功能实现、性能优化及常见问题解决。通过自动化脚本,研究者可高效完成文献批量下载,显著提升科研工作效率,特别适合需要处理大量文献的研究团队使用。

weixin_26965807的博客 476

安全狗导致网站程序池被禁用_如何在Microsoft Office程序中禁用安全警告消息栏...

安全狗导致网站程序池被禁用Macros in Microsoft Office programs allow you to automate repetitive tasks, but some macros can be dangerous. Macros are bits of computer code and they’re infamous for containing malware ...

cumai3211的博客 1113

反激系列-详细到每个容阻的原理之RCD吸收(1)

1、漏感尖峰电压会被RCD吸收,漏感能量一定,电容越大,电容充电的电压就越低,吸收能力就越强,MOS漏极的电压就越低。2、在漏感能力释放完之后(这个过程一般只有一个周期的3%时间),是要通过R1释放掉电容吸收的能量的,把电容的电压降下来方便下一次漏感尖峰来之前再进行吸收。3、电容容量和电阻需要合理搭配,容量足够即可,足够能吸收漏感尖峰电压,不至于超过MOS耐压。电阻需要足够小,小到在放电阶段把电容电压下降到MOS的电压平台。

Cuxiaoweiba的博客 3万+

调试经验—— Excel点击保存时总是弹出隐私信息警告(Privacy Warning:this document contains macros...)的解决方法

问题: 有一个Excel文件,每次点击“保存”按钮,都会弹出一个对话框,很是烦人。 " Privacy Warning:this document contains macros,ActiveX controls,XML expansion pack information or web components. these may include personal information th...

预见未来to50的专栏 5243

CMOS反相器版图设计全解析:PMOS/NMOS布局与VDD/VSS连接门道

版图设计是芯片从电路原理图迈向物理实现的必经桥梁,而CMOS反相器作为最基础的数字单元,恰好是理解这一过程的最佳切入点。在版图绘制中,PMOS与NMOS因导电类型和迁移率差异,需要在N阱与P衬底上分别规划,并呈现出不同的有源区尺寸。真正决定版图好坏的关键,往往在于VDD/VSS的完整连接——不仅要接通源漏,还要通过阱接触和衬底接触固定阱与衬底电位,防止寄生PN结正偏和闩锁效应。合理布局电源地线轨道、优化接触孔数量,能显著降低寄生电阻与电迁移风险。这些原理不仅适用于反相器,也是所有CMOS数字标准单元版图设计

weixin_29159441的博客 302

【ue4】【新手入门】|静态网格模型碰撞设置和合并Actor(合并静态网格体)

上一期学到把构建好的房子模型变成一个静态网格体(也是一个模型)但是静态网格体是没有碰撞的 所以要给这个模型设置碰撞。

m0_63501513的博客 4420

The Makefile, Project, and Workspace Creator (MPC)

The Makefile, Project, and Workspace Creator (MPC) Introduction Maintaining multiple build tool files for a multi-platform project can be quite a challenge, especially when the project struct

flyonok的专栏 3623

手把手教程 | 使用 apktool 修改已发布 APK 的版本号与版本名称

摘要:本文介绍如何使用apktool工具直接修改APK版本信息,适用于版本回滚、多版本测试等场景。详细步骤包括反编译APK、修改版本号、重打包、对齐优化和重新签名,并分享了反编译相关实用知识。该方法无需源代码参与,但需注意修改后的APK必须重新签名才能安装。最后强调应在合法范围内使用反编译技术。

学无止境 826

outlook 加载配置项_如何禁用Outlook加载项进行故障排除

outlook 加载配置项If the Outlook client starts behaving oddly, one of the first things to do is see whether add-ins are causing the problem. Here’s how to disable them so you can tell if they’re the issue....

2677

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

JavaCore extends Plugin

/******************************************************************************* 2 * Copyright (c) 2000, 2007 IBM Corporation and others. 3 * All rights reserved. This program and the accompanyi...

weixin_30718391的博客 337

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

Checking the close event of browser in flex

Modify the index.template.html file by adding in the following scripts: 1: "JavaScript" type="text/javascript"> 2: window.onbeforeunload = clean_up; 3:   4: function

Dream & Passion 1042

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

Take use of the line printer in Soc

Use the line printer in Soc, one can only print *.txt files and must send the print command form Unix environment. Another alternative is to use the SSH client. Obtaining and Installing SSH for Wind

Dream & Passion 879

J.K.Rowling's newest book - The tales of Beedle the Bard

The Tales of Beedle the Bard Publish at Scribd or explore others: Fiction Literature harry potter and the J.K. Rowling

Dream & Passion 688

[Transferred] Create a new Drive or Partition in Windows Vista

Carefully follow these steps to create a new drive or partition in Windows Vista. I am sure you had a hard time creating additional drives in your older version of Windows. Vista makes it very simpl

Dream & Passion 584

[Video] History of the Internet

      http://www.youtube.com/watch?v=9hIQjrMHTv4

Dream & Passion 575

[Transmitted]PHP and FLEX communication

[Original]http://nitingore.wordpress.com/2007/07/19/php-and-flex-communication/ Communication between PHP and Flash using POST method of HTTPService service:- Here I have created Flex project which

Dream & Passion 527

News Digest

The Sum of Your Facial Parts New York Times (10/09/08) Kershaw, Sarah Researchers at Tel Aviv University have developed "beautification engine" software that uses a mathematical formula to alter

Dream & Passion 495

Talk: Google for developers

Last afternoon, Patric held a talk about google for developers. During this talk, he introduced us about following useful tools: Gears. Improving the web browser.http://gears.google.com/ Gapminder.

Dream & Passion 475
上一篇: [转] 当猫爱上蝴蝶
下一篇: 【转】唐三彩 英文介绍
itroy
博客等级 码龄18年 7粉丝 116原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值