How to paste CSV into existing excel sheet, then more

Welcome Forums General PowerShell Q&A How to paste CSV into existing excel sheet, then more

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
2 years, 1 month ago.

  • Author
    Posts
  • #45555

    Participant
    Points: 0
    Rank: Member

    Hey all, I'm fairly new to powershell and I'd really appreciate some help.

    I have a ton of really simple csv files that I need to do the following with:

    1) paste a csv into a specific sheet (ex. sheet1) of an existing excel template (so sheet1, into B4)
    2) then, I need to copy a chunk of data in a different sheet
    3) and finally save the copied data to brand new excel sheet

    I've figured out how to do step 3 but step 1 and 2 are throwing me off really badly – any help or direction would be great!

    Thanks!

  • #54842

    Participant
    Points: 0
    Rank: Member

    Hello I am fairly new to powershell as well. I did come across this article from the Scripting Guy that might be of help to you.

    https://blogs.technet.microsoft.com/heyscriptingguy/2010/09/09/copy-csv-columns-to-an-excel-spreadsheet-by-using-powershell/

The topic ‘How to paste CSV into existing excel sheet, then more’ is closed to new replies.