ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Diagonal Lines on UserForms? (https://www.excelbanter.com/excel-programming/314901-diagonal-lines-userforms.html)

James Cox[_2_]

Diagonal Lines on UserForms?
 
Am I just low on coffee this morning, or is there not a way to draw diagonal
lines on an Excel VBA userform?

Sanity checks cheerfully cashed - thanks!

James Cox



keepITcool

Diagonal Lines on UserForms?
 


Form.Circle
Form.Line

Sanity validating....

vb4 has it...
vb5 has it....
vb6 has it.....
vb.NET has it......

VBA COMPILE ERROR!

Sanity OK!

so sorry... NOT supported <VBG


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"James Cox" wrote:

Am I just low on coffee this morning, or is there not a way to draw
diagonal lines on an Excel VBA userform?

Sanity checks cheerfully cashed - thanks!

James Cox





Stephen Bullen[_4_]

Diagonal Lines on UserForms?
 
Hi James,

Am I just low on coffee this morning, or is there not a way to draw diagonal
lines on an Excel VBA userform?

Sanity checks cheerfully cashed - thanks!


Draw a diagonal line on a sheet and copy it to the clipboard
Add an image box to the form, put the cursor in it's 'Picture' property in the
Property window and Ctrl+V

Regards

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




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

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