• Datagrid (Excel VBA)

    Author
    Topic
    #390393

    How do you link a datagrid to the ADO data control in Excel? In VB6 the DataSource property is used but what is the equivalent in VBA?
    shrug

    I’m confused
    Mary

    Viewing 0 reply threads
    Author
    Replies
    • #693444

      Hi Mary,
      It’s the same in VBA – e.g.

      Set dgrRisks.DataSource = ADODC1
      

      Hope that helps.

    Viewing 0 reply threads
    Reply To: Datagrid (Excel VBA)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: