Skip to content

Opening workbooks changes file name to lower case #2052

Description

@qzyu999

OS (e.g. Windows 10 or macOS Sierra)

Windows 10

Versions of xlwings, Excel and Python (e.g. 0.11.8, Office 365, Python 3.7)

xlwings 0.15.4 Python 2.7

Describe your issue (incl. Traceback!)

I didn't have this issue before, but all of a sudden when I run my script to open a Excel workbook using xw.Book the filename is changed to all lowercase. I tried to open the same file simply using the xw.Book command and the same result happens. Not sure what's causing the filename to be automatically changed to all lower case. I saw the issue here, but the solution listed is not too useful for me.

xw.Book(os.path.join(FILE_PATH, 'FILENAME.xlsm'))

Include a minimal code sample to reproduce the issue (and attach a sample workbook if required!)

xw.Book(os.path.join(FILE_PATH, 'FILENAME.xlsm'))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions