#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Get Cell Style

Excel 2007

I need to return a boolean value based on whether or not a cell contains
a hyperlink. All the cells that contain hyperlinks are formatted in the
Hyperlink style.

What formula can I use to tell me if a given cell is formatted in the
Hyperlink style?

--Tom
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 434
Default Get Cell Style

hi, Thomas !

Excel 2007

I need to return a boolean value based on whether or not a cell contains a hyperlink.
All the cells that contain hyperlinks are formatted in the Hyperlink style.
What formula can I use to tell me if a given cell is formatted in the Hyperlink style?


let's assume your hyperlinked text is in cell B2 and "the formula" will be (allways) one column to the right (C2)

- select [C2] and add/create/define/... a name using xl4 macro-functions language (i.e.)
name: IsHyperlink
formula: =and(get.cell(22,!b2),get.cell(24+0*now(),!b2)=5)

- apply "the name" to C2 cell: =IsHyperlink

hth,
hector.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop style for col A changing to style of co D date vs $ Knowledge Seeker Setting up and Configuration of Excel 0 April 15th 08 03:26 PM
How do I change sheet notation from R1C1 style to A1 style in XL 2 Sherlock1506 Setting up and Configuration of Excel 1 December 5th 06 03:22 PM
Changing from format style to list style B.W. Excel Worksheet Functions 1 November 22nd 06 07:53 PM
How do I convert US style dates to European style? Neo Excel Discussion (Misc queries) 3 October 15th 06 02:24 PM
can a1 reference style and r1c1 style be used in same formula? rjagga Excel Worksheet Functions 1 September 17th 06 10:58 AM


All times are GMT +1. The time now is 08:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"