链接单元格的条件格式 [英] conditional formatting for linked cells

查看:98
本文介绍了链接单元格的条件格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要告诉哪些单元格使用条件格式链接到另一个文件。


尝试= a1 = * \ *,但这不起作用。


有任何解决方案吗?


谢谢,


  - Mik


解决方案

嗨Mik,


根据我的理解,你想要插入一个超链接到指定的 单元格。


这个VBA样本应该可以帮到你:

 Sub InsertHyperlinks()
工作表(1 ).Hyperlinks.Add Anchor:= Worksheets(1).Range(" A1"),_
Address:=" E:\1.txt",_
ScreenTip:=" TestFileTip",_
TextToDisplay:=" TestFile"
结束子

此处 是Msdn中的官方链接:


#Hyperlinks.Add Method( Excel)


http:// msdn .microsoft.com / zh-CN / library / office / ff822490.aspx


注意,


Need to tell which cells are linked to another file using conditional formatting.

Tried =a1=*\*, but that didn't work.

Any solutions out there?

Thanks,

 - Mik

解决方案

Hi Mik,

Based on my understanding you want insert a hyperlink to the specified cells.

This VBA sample should be help you :

Sub InsertHyperlinks()
Worksheets(1).Hyperlinks.Add Anchor:=Worksheets(1).Range("A1"), _
     Address:="E:\1.txt", _
     ScreenTip:="TestFileTip", _
     TextToDisplay:="TestFile"
End Sub

Here is a official link in Msdn:

#Hyperlinks.Add Method (Excel)

http://msdn.microsoft.com/en-us/library/office/ff822490.aspx

Regard,


这篇关于链接单元格的条件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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