Excel, 47 bytes
There's no reason to append anything. Why not just make a 4 digit number?
=9^4
Original:
=9^7&""
Produces a 7 digit number and then appends empty string
Uses general idea from pajonk in their answer [although obviously not the language trick :)]