Access Color Sample Tool from Macro/Visual Basic?

Is it possible yet to do this? I'd like to pick several points on the screen and get the color from each spot separately.

  • Hi Mike.

    After declaring your object reference for a color, and setting it, you can use UserAssign

    Like this:

    Dim col as New Color


    Other than that we haven't got the cool eyedropper feature for vba yet, even though we've asked a million times. You'll have to do it directly using WinAPI.


Reply Children
No Data