K
krollenhagen
I am creating an excel spreadsheet from vb.net 2005. I followed the
advice of some other posts on how to "Center Text in Excel" by creating
a macro in excel to do what I want and then looking at the code.
"oSheet.Range("F3").HorizontalAlignment = xlRight" is what was posted
there. When I try this, I get an error of "xlRight is not declared"
What do I declare it as?
Thanks
advice of some other posts on how to "Center Text in Excel" by creating
a macro in excel to do what I want and then looking at the code.
"oSheet.Range("F3").HorizontalAlignment = xlRight" is what was posted
there. When I try this, I get an error of "xlRight is not declared"
What do I declare it as?
Thanks