IT Log

Record various IT issues and difficulties.

Tag: Excel


  • How to convert the character encoding of a CSV file to UTF-8

    To convert the character encoding of a CSV file to UTF-8, follow these steps: Identify the Current Encoding: Open the CSV file in an editor like Notepad++ or Excel. Check the encoding settings; Notepad++ can detect it under “Encoding.” Choose a Conversion Tool: Notepad++: Use the “Encoding” menu to convert directly. Excel: Open the CSV,…


  • How to write code in VBA to remove one random value from 10,000 values?

    To solve the problem of removing one random value from 10,000 values in Excel using VBA, we can follow a structured approach. The solution involves reading the data into an array, selecting a random index to remove, and then writing the remaining data back to the worksheet. Approach Read Data: Extract the 10,000 values from…