LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX Excel - how to choose the whole column

Hi,

I can access individual cells in Excel using the Range object but I could not figure out how to select the whole column. Here is essentially what I'm trying to do if I were to do it with a mouse in Excel.

"Select Column A -> right click to choose "Format Cells..." -> Under the Alignmnet tab, click the "shrink to fit" checkbox."

Thank you very much.

Jae-Ho
0 Kudos
Message 1 of 6
(3,458 Views)
This should work for you.

For more information and some sample VI's and tool kits, you can go to the excel board

Message Edited by Jhoskins on 01-31-2007 07:36 PM




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 6
(3,455 Views)
Hi, I'm sorry for the trouble but could you please save it as LabVIEW 7.1? Also thank you for the link to the excel board. Thanks

Jae-Ho
0 Kudos
Message 3 of 6
(3,452 Views)

Sorry I cannot go back that far. Here is a screen shot.

Message Edited by Jhoskins on 01-31-2007 07:41 PM




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 6
(3,450 Views)
Hi,

I just tried it following the diagram but was confused with what the "Column" string control contained to select the whole colmun, say column "A". I can do it to individual cells if I connect "A1"
Thank you.

Jae-Ho
0 Kudos
Message 5 of 6
(3,445 Views)
In the column string control type in a:a to select the whole column A.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 6 of 6
(3,442 Views)