Access 2010 VBA: Looked all over but can't find straight answer for how to set color property of field using, #NNNNNN format


  • Background:

    I have this VBA statement

    Form_Storage_Automation_Main_Form.HBA1.BackColor = "#F8F8F8"

    I'm getting a "Type Mismatch" error.

    I've looked through many online blogs and forums without success. The approach above I got out of a VB example. Is there a difference in VBA?

    I don't understand what even the type would be?

    What would be the correct way to do this?

    Dienstag, 13. März 2012 21:15


Alle Antworten