ARGH!!!
Why does the following function call not work?
VBA keeps telling me that an "=" is expected?
![]()
Dim Ore_Name As String Dim ws_index As Integer Ore_Name = "Carbon" ws_index = 3 Find_Ore_And_Setup_Grid(Ore_Name, ws_index) ' <=== This line will NOT compile
![]()
Function Find_Ore_And_Setup_Grid(o_name As String, ws_index As Integer) ' Will search the indexed ws of the GPI_wb for the Ore name, if not found then it will be created with needed grid End Function
Bookmarks