What I typically do is this following:
1. Open the Properties of the Command Button
2. In the "On Events" tab, on the "On Click" line, click on the button with the three dots, and select "Code Builder".
This will give you the shell of your code like this:
Code:
Private Sub Command1_Click()
End Sub
3. Copy the "guts" of your converted macro (everything between the "Function..." and "End Function" lines, and paste it in between the two lines of code above.
Now whenever you click that button, it will run the code.
For cleanup purposes, you can delete the original Converted Macro code after doing this.