Jun 26, 2006 #1 myrgir Programmer Feb 7, 2006 62 CA Hi I would like to right align text in a specific cell in excel from vb.net. How can I do this? Thanks in advance
Hi I would like to right align text in a specific cell in excel from vb.net. How can I do this? Thanks in advance
Jun 26, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR As we are in the VBA forum: yourRangeObject.HorizontalAlignment = -4152 'xlRight Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
As we are in the VBA forum: yourRangeObject.HorizontalAlignment = -4152 'xlRight Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Jun 26, 2006 #3 djj55 Programmer Feb 6, 2006 1,761 US Accessing Excel from VB.NET is tricky. See KB articles 301982 and 306022 to point the way. djj Upvote 0 Downvote