Thanks, vbaInet.
I thought I'd share what I've found with future searchers. First, although there is the known bug in Access 2010 when trying to convert a form's macros to code, I found the following work around.
On the macro viewing screen, "collapse" the macro, then right click it and copy it. Then create a new macro and paste the copied one into the new/blank macro. Then the conversion can be done successfully and will produce vba code equivalent to the macro's functionality.
Doing that produced this line of code that, placed in the After Update event of the list box, takes the place of the macro:
DoCmd.SearchForRecord , "", acFirst, "[buildingName] = " & "'" & Screen.ActiveControl & "'"