Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi, Thanks for the response. Actually I was hoping to do it with a macro if possible. I have a long column 'L' with more than 35000+ rows. About 20% of the entire column (~7000) fields/cells of L are formatted violet (the interior color of the cell is violet) The rest of the cells are white/nonformatted in color However the color/noncolor is RANDOM and does not follow a pattern. I would like to have a macro that tests if that cell is violet first, then if yes, let it process the cell. Here is what I am trying to do but the code does not work/compile correctly Option Explicit SUB CHECKCOLOREXISTSTHENGETGOOGLEURL() FOR EACH CELL IN COLUMN L FROM L1 TO L31886 IF CELL.INTERIOR.COLORINDEX = 13 THEN CELL.FORMULA = =HYPERLINK(\"HTTP://WWW.GOOGLE.COM/SEARCH?HL=EN&Q=\" & C1 & \"+\" & H1 & \"&BTNG=GOOGLE+SEARCH\") END IF NEXT CELL END SUB thanks -- bxc2739 ------------------------------------------------------------------------ bxc2739's Profile: http://www.excelforum.com/member.php...o&userid=32538 View this thread: http://www.excelforum.com/showthread...hreadid=535503 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Getting Excel MDI/SDI/Excel Instance to behave more logically | Setting up and Configuration of Excel | |||
Need suggestions for some uses of Ms Excel | Excel Discussion (Misc queries) | |||
Value Errors with EXCEL XP not showing up in EXCEL 2000 | Links and Linking in Excel | |||
Excel startup switches | Excel Discussion (Misc queries) | |||
Hints And Tips For New Posters In The Excel Newsgroups | Excel Worksheet Functions |