"Unable to set the orientation property of the PageSetup class". This error message is appeared in my VB6 code, which is used to set the orientation of an excel file to landscape.
This error message only appeared in 1 computer. Why did it happen only in 1 computer? Well...the computer didn't have a default printer. I just need to add a default printer, then the problem disappeared.
Source:
http://www.ureader.com/msg/103711516.aspx
No comments:
Post a Comment