A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
We need some "rules" to follow in order to create the macro. A description of what you do that would cause the code to create the formula is needed. Something like this:
When a value is typed in by the user in Column A on sheet "GoodMorning" then I need the formula from column X on that same row on the sheet copied into the next empty row on sheet "GoodNight" but put into column V.
Also, if the new formula needs to refer to cells on the original sheet, we'd need to know that - it kind of complicates the issue a little, but obviously it's a critical point.
For example, on the GoodMorning sheet the formula might simply be
=A5 + (B5*2)
and if we copied that literally over onto the GoodNight sheet, then it would be doing the same thing, but referencing the cells on the GoodNight sheet, not the GoodMorning sheet. In order to do the same math with the same cells from the GoodMorning sheet, we'd have to make it look like this on the GoodNight sheet:
='GoodMorning'!A5 + ('GoodMorning'!B5 * 2)
Fairly easy for a human to figure out very quickly, not so easy to work up in code, but do-able.
However, I'm betting you want the formula to look exactly like it did on the GoodMorning sheet, otherwise the =GoodMorning!A3 formula you already tried but didn't work for you would have been just fine. I'm also betting you want those formulas copied to the same cell addresses on the "GoodNight" sheet, otherwise they're probably not going to work as expected.
Sheet names, columns and rows involved are all important pieces of information in coming up with a solution.