PDA

View Full Version : VBA and Excel



axa2001ro
2004-09-10, 05:05 AM
Hello,


Can you tell me, please how can I format as Text the data type for a column in Excel worksheet, which is opened from AutoCAd ( using VBA)?

Thank you!

cll
2004-09-13, 06:19 AM
Hi,

When you have set the excel connection, workbook and worksheet,

Columns("A:A").Select
Selection.NumberFormat = "@"

will do.

Hope this helps.
Best regards

Claus