This may be a bit tricky with LabTalk.
However If you are willing to try OriginC, you can use code such as ..
void ProcessWorkBook()
{
WorksheetPage wP=Project.Pages(-1);
if(wP.IsValid()==true)
{
foreach (Layer Lay in wP.Layers)
{
Worksheet Wks(Lay);
if(Wks.IsValid()==true)
{
foreach (Column wCol in Wks.Columns)
{
// Do Something to the Columns
}
}
}
}
}