Results 1 to 23 of 23

Thread: [RESOLVED] VB6 - Merge Cells in spreadsheet

Threaded View

  1. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    341

    Re: VB6 - Merge Cells in spreadsheet

    PLEASE DISREGARD THE PREVIOUS POST. I UPLOADED THE WRONG SPREADSHEET.

    Good morning gentlemen,
    Please see the spreadsheet attachment and see the horror in its display.

    However, I've been able to accomplish my objective with this code:

    Code:
    xlWksht.Range(Cells(ii + 1, 1), Cells(ii + 1, 8)).Merge
    But now, the data in the cell is centered and the cell is astronomically large (occupies the entire screen)

    Problem now is: (a) I want the data left-justified (b) and the cells minimized just enough so that the data fits.
    Thanks all.
    GiftX
    Attached Files Attached Files

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