Folks
I'm an amateur programmer and sure I'm being stupid but I'm hung up on something daft. I want to set the column width and found the following code in the examples...
XLS.Sheet[0].Columns[6].CharWidth := 12;
Looked easy so In c++ I converted for my use as follows..
XLS1->Sheets->SheetByName("Backlog")->Columns[11]->CharWidth = 50;
But the compiler copmplains wit the following error...
[C++ Error] Unit1.cpp(178): E2288 Pointer to structure required on left side of -> or ->*.
I can't believe I've nearly finished my little project and I just can't move on now.
Any help would be very much appreciated
Thanks
Karl