CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: right align

  1. #1
    Join Date
    Jan 2003
    Posts
    195

    Resolved right align

    how do i right align excel cell values using vbscript

  2. #2
    Join Date
    Jul 2002
    Location
    India
    Posts
    505

    Re: right align

    This will right align the selection.

    Sub Macro2()
    Selection.HorizontalAlignment = xlRight
    End Sub

  3. #3
    Join Date
    Jan 2003
    Posts
    195

    Re: right align

    Thanks, satish works fine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured