After working for Dar al-Kutub for 13 years, in 1938, Ramy worked for the League of Nations Library in Geneva as a librarian after Egypt officially joined the League. In 1945, he returned to Egypt where he worked as an advisor to the Egyptian Broadcast House. He returned to Dar al-Kutub as a Deputy Chairman three years later. Ramy was named vice president of the Dar al-Kutub Board in 1948 and literary adviser to the Egyptian State Broadcasting in November 1954. He contributed to al-Hilal between 1936 and 1954 and wrote plays for both the stage and the screen.