Midazolam is an approved sedative medication used for medical procedures. This study was being done to document the safety and efficacy of midazolam in improving anxiety, heart rate, and blood pressure in patients prior to undergoing Mohs micrographic surgery for the treatment of skin cancer (basal cell carcinoma or squamous cell carcinoma). Midazolam may make a patient relaxed and sleepy, and lower blood pressure. These effects last for about 2 hours.