Consulting

Results 1 to 3 of 3

Thread: Value & Formula - Export Sheet from xlsx to CSV

  1. #1

    Value & Formula - Export Sheet from xlsx to CSV

    Hi, I need help to extract a sheet from a xlsx file.
    I use:
    Workbook.SaveAs FileName:=FileName, FileFormat:=xlCSVUTF8, Local:=True
    to extract in a new CSV file (UTF8 encoding).

    A filed that in the xlsx contain a formula (calculation of a percentage), in the CSV becomes #REF! .

    How can I solve?

    Thanks

  2. #2
    No idea?
    Thanks

  3. #3
    Solved with a
    For Each c In shtToExport.Range("A1:B2")
            If c.Value < 1 Then
                c.Value = c.Value * 100

Posting Permissions

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