ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   LineTo in Excel (https://www.excelbanter.com/excel-programming/319657-lineto-excel.html)

mike510

LineTo in Excel
 
Is it possible to use LineTo() function to plot a line on a UserForm? When I
tried to use an example from VB6 I was told that UserForm1.hDC is unknown
object.

Can anybody give a short example?

Thank you in advance.

Mike510



Stephen Bullen[_4_]

LineTo in Excel
 
Hi Mike510,

Is it possible to use LineTo() function to plot a line on a UserForm? When I
tried to use an example from VB6 I was told that UserForm1.hDC is unknown
object.


No it's not. Sorry.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.oaltd.co.uk




All times are GMT +1. The time now is 07:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com