#Hello i need help about my python code
7 messages · Page 1 of 1 (latest)
I tried a few codes but they didn't work, I don't have that codes
it's also not entirely clear what your program does, but it looks like when you hit control+c it opens an excel book, iterates over the excel document(until it runs out of stuff to paste over?) and pastes data from the text variable from your clipboard.
you'll probably need to define some global or at least shared state between the handler show_clipboard and the handler for f2
when I press ctrl c, the program pastes the text I copied into excel, after paste 3 times on the same row, it goes to the bottom row , I want it to go down 2 row when I press f2
ok yeah so you'll need to have some kind of shared state, a global variable or something