Automatic Sync between Excel and text-formated CSV

%3CLINGO-SUB%20id%3D%22lingo-sub-2099812%22%20slang%3D%22en-US%22%3EAutomatic%20Sync%20between%20Excel%20and%20text-formated%20CSV%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2099812%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI%20have%20an%20Excel%20sheet%20that%20will%20have%20inputs%20and%20outputs%20from%2Fto%20a%20PLC.%20The%20PLC%20can%20read%20and%20write%20from%2Fto%20a%20CSV%20file%20that%20is%20text-formatted%2C%20not%20in%20spread%20sheet%20format.%20The%20PLC%20does%20not%20have%20MS%20Office%20on%20it.%3C%2FP%3E%3CP%3EI%20was%20wondering%20if%20there%20is%20a%20simple%20way%20that%20can%20achieve%20the%20above%20goal.%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2099812%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2104477%22%20slang%3D%22en-US%22%3ERe%3A%20Automatic%20Sync%20between%20Excel%20and%20text-formated%20CSV%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2104477%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F943809%22%20target%3D%22_blank%22%3E%40Pipan%3C%2FA%3E%26nbsp%3BYou%20can%20utilize%20PowerQuery%20to%20control%20the%20import%20of%20the%20text%20file%20to%20excel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2107050%22%20slang%3D%22en-US%22%3ERe%3A%20Automatic%20Sync%20between%20Excel%20and%20text-formated%20CSV%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2107050%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F867265%22%20target%3D%22_blank%22%3E%40adversi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%20Can%20Power%20Query%20be%20used%20to%20write%20from%20Excel%20to%20a%20text%20file%2C%20too%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi

I have an Excel sheet that will have inputs and outputs from/to a PLC. The PLC can read and write from/to a CSV file that is text-formatted, not in spread sheet format. The PLC does not have MS Office on it.

I was wondering if there is a simple way that can achieve the above goal.

Thank you.

 

3 Replies

@Pipan You can utilize PowerQuery to control the import of the text file to excel

@adversi 

 

Thank you. Can Power Query be used to write from Excel to a text file, too?

@Pipan PowerQuery wouldn't be able to do that, but a Save As of the file to a .txt format should work