Hello, Selection.TextToColumns Destination:=Selection.Offset(,1), DataType:=xlDelimited, _ TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _ Semicolon:=False, Comma:=False, Space:=False, Other:=True, OtherChar _ :="-", FieldInfo:=Array(Array(1, 1), Array(2, 1)), TrailingMinusNumbers:=True
Daniel > -----Original Message----- > From: excel-macros@googlegroups.com [mailto:excel- > mac...@googlegroups.com] On Behalf Of nadhra > Sent: lundi 27 juillet 2009 09:22 > To: MS EXCEL AND VBA MACROS > Subject: $$Excel-Macros$$ Beginner Question > > > Hi, > > Can anyone please help me to edit this code : > > Selection.TextToColumns Destination:=Range("B31"), > DataType:=xlDelimited, _ > TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, > _ > Semicolon:=False, Comma:=False, Space:=False, Other:=True, OtherChar > _ > :="-", FieldInfo:=Array(Array(1, 1), Array(2, 1)), > TrailingMinusNumbers:=True End Sub > > so that I can run the macros for every cell selected? > > and later, do every cell and then run the macros on other sheet in the > worksheet? > > Thank you very much! > > Nadhra > > > --~--~---------~--~----~------------~-------~--~----~ ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 5,200 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -~----------~----~----~----~------~----~------~--~---