![]() |
Detecting "CallingCell" In Function
You cannot format a cell from within a UDF, just no can do.
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "dec_obrien" wrote in message ... Hi, I have a custom function that calculates the Date given various conditions. What I want to do is conditionally format the cell from where the function is called based on the day of the week calculated. It's like "ActiveCell" for the calling cell of the function but obviously ActiveCell will not be correct. I know I could pass the Cell Row/ Column in as arguments to teh function but this seems a bit messy if there an easier way of detecting this. Any ideas? -- dec_obrien ------------------------------------------------------------------------ dec_obrien's Profile: http://www.excelforum.com/member.php...o&userid=37705 View this thread: http://www.excelforum.com/showthread...hreadid=572994 |
All times are GMT +1. The time now is 05:51 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com