I'm just starting out - 2 days into learning python. Trying to automate data entry in user form by reading from excel sheet.
I used the code below but am unable to run this loop for every row.
n=1
for n in range(n, sheet.max_column): #loop till last column in excel
pyperclip.copy(str(sheet.cell (row=1, column=n+1).value)) #copy cell content column wise in clip board
pyautogui.typewrite(pyperclip.paste()) #paste to citrix application user form
keyboard.press_and_release('\t') #tab to shift to enter next form data
keyboard.press_and_release('enter') #new form opened
the data read from excel sheet is :
the data is copied to clip board and pasted to citrix application - data form.
Data in one row represents the data to be copied column wise in data form - 1.
the loop is required to fill data form up to 'n' rows column wise for 'n' forms.
How can i modify the loop above ?