replace text in code module
问题 Im trying to use the replaceline function to update code in Access VBA module. it keeps coming up with a compile error. Ive checked that the VBA Extension are selected and compared it to other examples that I have looked up. this is the first time that Ive used this type of function, so I haven't fully got my head around them. code below Sub ReplaceCodeModuleText(strModule As String, strFindWhat As String, strReplaceWith As String) 'FUNCTION: ' Search the code module for specific text '