G
Geoff
I have a function that sends MS Access query output to create a MS Excel
spreadsheet and then formats the Sheet with the following commands. I would
like to be able to run the code for these formating options from a memo
field (preferably) from within this function. This way I can store the
formatting code in a memo field and format the spreadsheet from the memo
field contents.
Is this possible? Is there a better way?
Code like this.
MTExcel.Parent.Columns("A:A").ColumnWidth = 13.14
MTExcel.Parent.Columns("A:A").ColumnWidth = 18.71
MTExcel.Parent.Columns("B:B").ColumnWidth = 14.43
MTExcel.Parent.Columns("B:B").ColumnWidth = 10.86
etc...
spreadsheet and then formats the Sheet with the following commands. I would
like to be able to run the code for these formating options from a memo
field (preferably) from within this function. This way I can store the
formatting code in a memo field and format the spreadsheet from the memo
field contents.
Is this possible? Is there a better way?
Code like this.
MTExcel.Parent.Columns("A:A").ColumnWidth = 13.14
MTExcel.Parent.Columns("A:A").ColumnWidth = 18.71
MTExcel.Parent.Columns("B:B").ColumnWidth = 14.43
MTExcel.Parent.Columns("B:B").ColumnWidth = 10.86
etc...