Jump to content

Search the Community

Showing results for tags 'Text alignment'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi all, I have a script which writes to an Excel workbook, however I am finding an odd (not a showstopper, but as this is for someone else to use, I would like to get the cosmetics right aswell) outcome with regard to the cell formatting. _ExcelWriteCell($wb, "Folder path", 1, 1) _ExcelWriteCell($wb, "Collection Date", 2, 1) _ExcelWriteCell($wb, "Collected by", 3, 1) _ExcelWriteCell($wb, $path, 1, 3) _ExcelWriteCell($wb, @MDAY & "/" & @MON & "/" & @YEAR & @CRLF, 2, 3) _ExcelWriteCell($wb, @UserName, 3, 3) When this executes, the 'Collected by' is fine, but the date in cell 2C, despite the vertical text being set to bottom, wraps, then when the cell is expanded, sits in the centre of the cell. If I write the same data in manually, it writes on one line and auto adjusts the row, although I don't expect the same behaviour when written through AutoIT, the current result looks unprofessional There is an option _ExcelHorizontalAlignSet() but nothing for vertical alignment. I have looked at <Excel.au3> as I thought I would add an extra function, but to be honest it's beyond me how it works, the horizontal settings being -4131, -4108 and -4152 (left, centre, right). Any suggestions would be gratefully received. Thanks for looking
×
×
  • Create New...