+ Reply to Thread
Results 1 to 2 of 2

Create a CSV file where the content of the "visual" cell is actually in the 1 physical cel

Hybrid View

  1. #1
    Registered User
    Join Date
    06-23-2006
    Posts
    5

    Create a CSV file where the content of the "visual" cell is actually in the 1 physical cel

    Hello, i have an Excel file where lists have been created within a cell, but when i create a CSV file, those lists become individual records on their own, so just wondering how i can get all of the "visual" content of a cell to be placed in 1 cell when creating a CSV file?

    For example, when looking at the Excel version, you can see:
    1=a
    2=b
    3=c
    like a list within a cell, but when i go to create a CSV version of the XLS, i literally get a CSV row for each item of a list ie:
    1=a
    2=b
    3=c

    thanks for any pointers!

  2. #2
    Registered User
    Join Date
    06-23-2006
    Posts
    5

    Re: Create a CSV file where the content of the "visual" cell is actually in the 1 physical

    Ok got it, thanks anyway!

    Sub ReplaceVBLF()

    For c = 1 To 1
    For i = 1 To 60

    For j = 1 To 21

    cellval = Worksheets(c).Cells(i, j)
    Worksheets(c).Cells(i, j) = Replace(cellval, vbLf, "")

    Next j

    Next i
    Next c

    End
    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  2. Hyperlink to any file based on cell content using "Alt+Q" shortcut
    By venablmi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 10:20 AM
  3. Replies: 1
    Last Post: 01-23-2012, 03:16 AM
  4. Merging a "physical count" to a "system on-hand"
    By raharms in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-20-2010, 04:43 AM
  5. Replies: 2
    Last Post: 07-26-2010, 06:59 AM
  6. Transfert cell values from file "A" to file "B" skipping columns in file "B".
    By Sentrosi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2009, 11:11 PM
  7. [SOLVED] how do i automaticly "save as" using a cell's content as file nam
    By cxlough41 in forum Excel General
    Replies: 5
    Last Post: 01-05-2006, 01:55 AM
  8. I Visual Basic Error "File Not Found" when Excel opens
    By Brent E in forum Excel General
    Replies: 1
    Last Post: 03-02-2005, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1