Microsoft Visual Basic Error – Methord or Data member not found

Microsoft Visual Basic Error – Methord or Data member not found

This error is generated when you call a function that is set a private. To resolve the issue change the function from Private to Public.

Public Sub LoadScripts()
    Call BlockInactiveTags.BlockInactiveTags
    Call CatToTag.CatToTag

    Call DataLoadArticles.DataLoadArticles
    Call DataLoadCustomer.DataLoadCustomer
    Call RenameTags.RenameTags
    Call RenameInactiveTags.RenameInactiveTags

    Call CompanyDetailsUpdate.CompanyDetailsUpdate
End Sub

I was getting the error when the DataLoadCustomer function is set to private

Private Sub DataLoadCustomer

I then changed the DataLoadCustomer function to public

 


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>