A family of Microsoft word processing software products for creating web, email, and print documents.
It occurred to me that the behavior you're seeing can happen if a macro isn't working with the worksheet that it thinks it is working on.
For example, your macro code might say something like:
With Activesheet
do something
End with
When you wrote or recorded the Macro you were working on one worksheet. But later, for some reason that particular worksheet isn't the one that is currently the active worksheet.
A better way to do it when making your macro is to specify exactly on which worksheet you want the action to happen
With Sheets("Sheet2")
do something
End With