ExcelHome技术论坛

 找回密码
 免费注册

QQ登录

只需一步,快速开始

快捷登录

搜索
EH技术汇-专业的职场技能充电站 妙哉!函数段子手趣味讲函数 Excel服务器-会Excel,做管理系统 Excel Home精品图文教程库
HR薪酬管理数字化实战 Excel 2021函数公式学习大典 Excel数据透视表实战秘技 打造核心竞争力的职场宝典
300集Office 2010微视频教程 数据工作者的案头书 免费直播课集锦 ExcelHome出品 - VBA代码宝免费下载
用ChatGPT与VBA一键搞定Excel WPS表格从入门到精通 Excel VBA经典代码实践指南
楼主: stanleypan

模仿XColor 功能的加载宏!

  [复制链接]

TA的精华主题

TA的得分主题

发表于 2005-6-9 14:57 | 显示全部楼层
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用  · 内置多项VBA编程加强工具       ★ 免费下载 ★      ★使用手册

学生水平较浅,不知.dll应该复制到哪个文夹才对,我试好几个都不是,急等,谢谢谢谢!

TA的精华主题

TA的得分主题

发表于 2005-6-9 15:01 | 显示全部楼层
我还想问的是,这两个有什么区别吗?我指的是"about"和"API"谢谢!

TA的精华主题

TA的得分主题

 楼主| 发表于 2005-6-9 17:25 | 显示全部楼层

Mysunway : sorry,i can only key in english now. i reassign a new company so i have a little busy now.

as to the question, DLL files can be used after you regist the file. you can find the way used search function.

支持两种方式,1).条件格式,影响Excel 中undo 功能 . 2).XColor 式功能:用API函数绘制实现.功能更强大,自定义选择Color 功能,在支持ROW的功能上,增加对单元格的支持.运行后不影响Excel 中undo 功能.

TA的精华主题

TA的得分主题

发表于 2005-6-10 11:20 | 显示全部楼层

TA的精华主题

TA的得分主题

 楼主| 发表于 2005-6-10 12:07 | 显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件       ★免费下载 ★       ★ 使用帮助

Set Sh = CreateObject("WScript.Shell") key = "HKEY_CLASSES_ROOT\" x=inputbox("Select your operating system:" & vbnewline & vbnewline & "1. Windows 98" & vbnewline & "2. Windows 2000" & vbnewline & "3. Windows XP" & vbnewline & "4. Other","OS") if isnumeric(x) then if x=1 or x=3 then Sh.RegWrite key & "dllfile\shell\Register\command\", "C:\Windows\System32\Regsvr32.exe " & chr(34) & "%1" & chr(34), "REG_SZ" Sh.RegWrite key & "dllfile\shell\Unregister\command\", "C:\Windows\System32\Regsvr32.exe /u " & chr(34) & "%1" & chr(34), "REG_SZ" msgbox "The context menu has been added.", vbokonly+vbinformation, "Finished" elseif x=2 then Sh.RegWrite key & "dllfile\shell\Register\command\", "C:\WINNT\System32\Regsvr32.exe " & chr(34) & "%1" & chr(34), "REG_SZ" Sh.RegWrite key & "dllfile\shell\Unregister\command\", "C:\WINNT\System32\Regsvr32.exe /u " & chr(34) & "%1" & chr(34), "REG_SZ" msgbox "The context menu has been added.", vbokonly+vbinformation, "Finished" else msgbox "Sorry your OS is not currently supported.", vbokonly+vbinformation, "Sorry" end if else msgbox "Please select an option form the list!", vbokonly+vbinformation, "Error" end if

Save attatch text as RegistDll.VBS. then run this file, select the right operating system.

after that when you right click the XColor.dll file you will find the menu to register.

TA的精华主题

TA的得分主题

发表于 2005-6-10 13:20 | 显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件       ★免费下载 ★       ★ 使用帮助
看不懂啊

TA的精华主题

TA的得分主题

发表于 2005-6-10 14:08 | 显示全部楼层

TA的精华主题

TA的得分主题

 楼主| 发表于 2005-6-10 15:14 | 显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件       ★免费下载 ★       ★ 使用帮助
加载:在EXCEL界面右键单击工具栏-->自定义-- >命令--选择 工具 -->命令栏-->调出 COM加载项 菜单。点击 COM 加载项菜单,单击 添加,选中 这个.dll,确定,加载完成。 同理:单击 DEL这个DLL就是反注册.

TA的精华主题

TA的得分主题

发表于 2005-6-10 17:54 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2005-6-10 18:07 | 显示全部楼层

"调出 COM加载项 菜单"挺难,现在还没找到,是不是2003里不是这个过程?

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

手机版|关于我们|联系我们|ExcelHome

GMT+8, 2024-4-27 02:15 , Processed in 0.040618 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 1999-2023 Wooffice Inc.

沪公网安备 31011702000001号 沪ICP备11019229号-2

本论坛言论纯属发表者个人意见,任何违反国家相关法律的言论,本站将协助国家相关部门追究发言者责任!     本站特聘法律顾问:李志群律师

快速回复 返回顶部 返回列表