Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Excel > how use text to columns ??


Reply
 
Thread Tools Display Modes
  #1  
Old 07-12-2012, 12:12 PM
anavarathan anavarathan is offline
Newcomer
 
Join Date: Jul 2012
Posts: 2
Default how use text to columns ??


i want use text to columns for row A. please give some samples for text to columns...
Reply With Quote
  #2  
Old 07-12-2012, 02:36 PM
Cerian Knight's Avatar
Cerian Knight Cerian Knight is offline
Multi-Technologist

Super Moderator
* Expert *
 
Join Date: May 2004
Location: Michigan
Posts: 3,740
Default

Here is an example for transposing from rows to columns, if that is what you mean:
Code:
    Range("A1:C1").Select
    Selection.Copy
    Range("A2:A4").Select
    Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:=False, Transpose:=True
Otherwise, please provide a more detailed example of what you are trying to do.
__________________
"May the code that you write never work in ways that you didn't expect; and may the code that you didn't write never require you to maintain it". - Ancient Chinese Proverb
Reply With Quote
  #3  
Old 07-15-2012, 01:56 AM
anavarathan anavarathan is offline
Newcomer
 
Join Date: Jul 2012
Posts: 2
Default

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->