Calc macro: how to insert GPS coordinates in a spreadsheet?

Currently, I copy paste the GPS coordinates from another app. Is there any way to automate it (or any function), such that the current GPS coordinates automatically get entered in a cell?

I don’t think it is. Without the program it’s also impossible to say much.