Method or data member not found

josros60

Well-known Member
Joined
Jun 27, 2010
Messages
781
Office Version
  1. 365
Hi,

Have code below getting error Method or data not found but checked is the right name, not sure why the error:


VBA Code:
Public Sub Auto_Open()
    TableManager.AutoOpen ThisWorkbook
End Sub
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
What is TableManager? Nothing in Excel has an AutoOpen method unless you created it.
 
Upvote 0
is an adding for creating popup form for tables.

VBA Code:
'Attribute VB_Name = "Module1"
Option Explicit

Private Const Module_Name As String = "Module1."

Public Sub Auto_Open()
    TableManager.AutoOpen ThisWorkbook
End Sub

Public Sub BuildDataDescriptionTable()
    
    Const RoutineName As String = Module_Name & "BuildDataDescriptionTable"
    On Error GoTo ErrorHandler
    
    If Not TableManager.TableDataCollected Then
        MsgBox "Build the tables first"
        Exit Sub
    End If
    
    TableManager.BuildParameterTableOnWorksheet TableManager.mainworkbook
    
    '@Ignore LineLabelNotUsed
Done:
    Exit Sub
ErrorHandler:
    DisplayError RoutineName

End Sub


Public Sub ExtendDataValidation()

    Const RoutineName As String = Module_Name & "ExtendDataValidation"
    On Error GoTo ErrorHandler
    
    If Not TableManager.TableDataCollected Then
        MsgBox "Build the tables first"
        Exit Sub
    End If
    
    TableManager.ExtendDataValidationThroughAllTables TableManager.mainworkbook
    
    '@Ignore LineLabelNotUsed
Done:
    Exit Sub
ErrorHandler:
    DisplayError RoutineName

End Sub

Thank you
 

Attachments

  • TABLE MANAGER  REFERENCE.PNG
    TABLE MANAGER REFERENCE.PNG
    1.8 KB · Views: 2
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,850
Members
449,194
Latest member
HellScout

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top