in reply to Win32::OLE, Excel, textboxes

Just remove the single quotes from around msoTextOrientationHorizontal. It's a constant, at compile time the value is inlined, unless quoted. You may want to remove the quotes from the numeric arguments too ;)

HTH