Visio Reports - Text Justification

Started by th0rh, November 23, 2010, 01:54:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

th0rh

Not sure if this is the correct forum section to post to ...  :-\

I can get a report to work, no problem - but I would like to change the text justification in the report from right to left.  How can this be done?   

Thanks to all in advance.


Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

th0rh

Process Engineering / Process Flow diagrams - Equipment List.

Thanks



Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

th0rh


Visio Guy

#5
If its an Excel object embedded in Visio, then you should be able to double-click it to activate in-place Excel editing. Then you can use Excel's alignment functions to modify columns.

For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

th0rh

Yes, I understand that an embedded Excel sheet can be modified - but these changes don't "stick" (ie. when the list is updated, it always reverts to the original formatting, and I have to go back reformat the column justifications).  >:(

I know nothing about the XML programming that drives the interface between Visio and Excel...but my guess is that it must be possible to modify the schema to permit the desired column justifications.  ???   Does anyone know how to do this?  Am I even on the right track?

Yacine

The truth is, that the visio reports are in matters of formating a pain in the proverbial.
There isn't any documentation anywhere and no format templates to be found.
We opted for a self written vba routine to get the results we wanted.
   Dim xlsSheet As Excel.Worksheet
   
   Set xlsShp = Application.ActiveWindow.Page.InsertObject("excel.sheet", visInsertAsEmbed)    
   Set xlsSheet = xlsShp.Object.Worksheets(1)

   For Each shp In ActiveWindow.Page.Shapes
...
   Next shp
...
Yacine