Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

To assign width to a cell of Excel

Status
Not open for further replies.

SpeedCAD

Computer
Dec 9, 2002
47
Hi...

How do I assign a width to a cell of Excel by means of Visual LISP?

I have been proving with the dxscad method but it doesn't work me, for example to assign a color to a text of a cell Excel:

(defun color-fuente-excel (row col intcol / rng)
(setq rng (celda-excel (msxl-get-ActiveSheet xlapp) row col))
(msxl-put-colorindex (msxl-get-font rng) intcol)
)

but if I occupy a similar method to give width to a column it doesn't work, can somebody help me?

Thanks you...


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor