User Tools

Site Tools


microsoft_excel:macros:text_to_columns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

microsoft_excel:macros:text_to_columns [2021/08/04 14:27] – created petermicrosoft_excel:macros:text_to_columns [2021/08/04 15:28] (current) – removed peter
Line 1: Line 1:
-====== Microsoft Excel - Macros - Text to Columns ====== 
- 
-<code> 
-Range("B1")= "First Name" 
-Range("C1")= "Last Name" 
-Range("A2",Range("A2").End(xlDown)).TextToColumns _ 
-Destination:=Range("B2"), DataType:=xlDelimited,Space:=True 
-Columns("B:C").AutoFit 
-Range("A1",Range("A1").End(xlDown)).Copy 
-Range("B1",Range("B1").End(xlToRight).End(xlDown)).PasteSpecial _ 
-Paste:=xlPasteFormats 
-Application.CutCopyMode= False 
-</code> 
  
microsoft_excel/macros/text_to_columns.1628087250.txt.gz · Last modified: 2021/08/04 14:27 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki