Step through a word table selection with VBA -
i've been trying write macro changes formatting in big tables in word me. tried find information, there tables, information excel. so situation got this, got table 6 columns. first 2 columns selected, macro started. i'd read first cell of selection top left, manipulation/calculations it, i'd write manipulated data, move on cell right, read data, manipulate it, write , till end of selection. can me code skeleton? awesome! here's possible skeleton, loops through columns 1 , 2 of preexisting table. sub testtable() dim wordapp word.application dim docdocument word.document dim tbltable word.table dim c word.cell dim sstring string dim icolumnnumber integer set wordapp = createobject("word.application") set docdocument = wordapp.documents.open("<location of document e.g. c:\mydoc.doc>") set tbltable = docdocument.tables(1) icolumnnumber = 1 2 each c in tbltable.columns(1).cells sstring = c.range.text 'do...