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.

Parents
No Data
Reply
  • Hi Mike.

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

    Like this:

    Dim col as New Color

    col.UserAssign

    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.

    ~John

Children