Sort table contents

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi there,

Can anyone tell me if PowerPoint has a table sort function (ie select a
column in a table and sort alphabetically), or is this something I need to
write some code for?

Thanks

John
 
Can anyone tell me if PowerPoint has a table sort function (ie select a
column in a table and sort alphabetically), or is this something I need to
write some code for?

No such animal in PPT's own tables, so you'd have to code it yourself.
 
I had a feeling that would be the answer! Oh well, time to read up on
collections I suppose.

Thanks Steve.
 
I had a feeling that would be the answer! Oh well, time to read up on
collections I suppose.

I haven't done this myself, but at a guess, you might be able to create an
array dimmed x by y where x/y are the number of rows and columns in the table.

Populate the array with the text (or text converted to numerics) in the table

Sort the array

Replace the text in the table with the text from the array
 
Thanks Steve. I'll post the results if I can get it working, although I may
pop back here with a few questions on the way.

Best regards

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top