Coming soon - Get a detailed view of why an account is flagged as spam!
view details
4
[VBA] Highlight cell from a custom function
Author Summary
gulbronson is in VBA
Post Body

I'm creating a custom function and I would like to highlight the cells if a certain condition is met. I've tried to following code

If condition Then
    Range(Application.Caller.Address).Interior.ColorIndex = 6
End If

but it only causes my function to end prematurely. I've searched around this is basically straight from MSDN.

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
155,151
Link Karma
29,387
Comment Karma
124,641
Profile updated: 1 month ago
Posts updated: 10 months ago
9

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago