如何使用VBA检测文本框控件中的超链接数据类型? [英] How can I, using VBA, detect a Hyperlink data type within a Text Box control?

查看:142
本文介绍了如何使用VBA检测文本框控件中的超链接数据类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户端希望所有超链接数据类型保持启用状态,即使表单的其余部分处于只读模式。

I have a client who wants all hyperlink data types to remain Enabled, even if the remainder of the form is in Read-Only mode.

推荐答案

我认为只读表单不影响超链接字段的功能?如果用户点击超链接,你是说没有任何反应?当你说"只读"时,你到底什么意思?确保文本框已启用以激活
链接。

I thought read-only forms don't affect the functionality of hyperlink fields? Are you saying nothing happens if the user clicks on the hyperlink? When you say "read-only," what exactly do you mean? Make sure the textbox is enabled to activate the link.

但是要回答您的问题,您可以尝试查看HyperlinkPart函数。

But to answer your question, you can try looking into the HyperlinkPart function.

只是我的2美分......

Just my 2 cents...


这篇关于如何使用VBA检测文本框控件中的超链接数据类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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