Is this sentence OK? Did I use the word "ropes" correctly?
The past year has been tough as I have to learn the ropes of an office assistant and to be able to do the job effectively.
Yes, but you have basically said the same thing twice.
"...of being an office assistant" is a little better.