Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ctrl linefeeds embedded in CSV field
Message
 
 
À
19/10/2010 13:15:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01486146
Message ID:
01486160
Vues:
50
Something like
Application.ActiveSheet
>Since I'll probaby forget what I did, I'll record it here :
>
>To replace a special character in all Excel cells :
>
>
>Sub repLF()
>For Each cl In Worksheets("201006 excel").Cells.SpecialCells(xlCellTypeConstants, 23)
>    cl.Replace What:=Chr(13), Replacement:="---", SearchOrder:=xlByColumns
>Next cl
>End Sub
>
>
>If anyone knows how to tell the Worksheets() "whatever is the current worksheet please let me know.
>
>I'm pretty comfortable with VS macro syntax but Excel is new to me.
>
>Now at least I can load the csvs into Excel, massage them, and export a new csv that is more fox-friendly.
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform