I hardly had time to step inside the office before the phone started ringing.
A.I had hardly stepped inside the office than the phone started ringing.
B.Hardly had the phone started ringing when I stepped inside the office.
C.No sooner had I stepped inside the office than the phone started ringing.
D.As soon as the phone started ringing, I stepped inside the office.