Skip to content

Error with sources having space character #10

@FrViPofm

Description

@FrViPofm

Hi,
Let us say we we have "wheel diameter" in A1, "wheel thickness" in A2 and we want to use this column for aliases in B1 and B2. It will fail because there are spaces in the cells.
On my computer, I have added a small bit of code in Alias_Manager.FCMacro line 114 : .replace(' ','_')
Previously the code was :

                    App.ActiveDocument.Spreadsheet.setAlias(cell_to, App.ActiveDocument.Spreadsheet.getContents(cell_from))

now it is

                    App.ActiveDocument.Spreadsheet.setAlias(cell_to, App.ActiveDocument.Spreadsheet.getContents(cell_from).replace(' ','_'))

and it works even with cells having spaces.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions