View Single Post
 
Old 02-16-2015, 05:13 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote