lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I wanted to assign value to this line
So I used Object Browser, and typed Borders then clicked on weight and I read the following:
Property Weight As Variant
Property Weight As Variant that is all! nothing else.
I had to google it and found that:
Borders.weight "[FONT="]Returns or sets an [/FONT][FONT="]XlBorderWeight[/FONT][FONT="] value that represents the weight of the border."
[/FONT]Then I went back to vba Object browser and typed XlBorderWeight to find all values. Is that the way how to find what the values I need to pass to Borders.weight? Why Object Browser does it tell me Weight values are in XLBordersWeight?
How can I or someone link Weight with XlBorderWeight?
Same apply with Borders.Style and XlLineStyle
Thank you so much.
I wanted to assign value to this line
Code:
Workbooks(1).Worksheets(1).Cells(xrow, xcol).Borders.Weight =
So I used Object Browser, and typed Borders then clicked on weight and I read the following:
Property Weight As Variant
Property Weight As Variant that is all! nothing else.
I had to google it and found that:
Borders.weight "[FONT="]Returns or sets an [/FONT][FONT="]XlBorderWeight[/FONT][FONT="] value that represents the weight of the border."
[/FONT]Then I went back to vba Object browser and typed XlBorderWeight to find all values. Is that the way how to find what the values I need to pass to Borders.weight? Why Object Browser does it tell me Weight values are in XLBordersWeight?
How can I or someone link Weight with XlBorderWeight?
Same apply with Borders.Style and XlLineStyle
Thank you so much.