LineTo in Excel

  • Thread starter Thread starter mike510
  • Start date Start date
M

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.

Can anybody give a short example?

Thank you in advance.

Mike510
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top