Clue: Program in Excel — to begin with it can ease the pain (7)
Answer: CODEINE
Explanation: Definition: it can ease the pain
A charade of CODE ('program') plus 'in' plus E ('**E**xcel to begin with').