Now I'm completely confused, because that is what the original macro did:
AFG FKFKF DDJ DKKFJG DKDKJDJF
AFG FKFKF DDJ DKKFJG DKDKJDJF
AFG FKFKF DDJ DKKFJG DKDKJDJF
AFG FKFKF DDJ DKKFJG DKDKJDJF
becomes
('AFG', 'FKFKF', 'DDJ', 'DKKFJG', 'DKDKJDJF'),
('AFG', 'FKFKF', 'DDJ', 'DKKFJG', 'DKDKJDJF'),
('AFG', 'FKFKF', 'DDJ', 'DKKFJG', 'DKDKJDJF'),
('AFG', 'FKFKF', 'DDJ', 'DKKFJG', 'DKDKJDJF'),
The other contributors macros removed the commas as per your follow up instructions, whereas my second macro doesn't insert the commas in the first place.
In what way does the first macro not work for you?
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|