Hi @Raju25 ,
As per my understanding what you have elaborated, and I have created a solution.
Please find the attached solution.
Pre-requisite: Create an Excel Template with 2 sheets.

Code:
Variables.CreateNewList List=> List
SET List TO ['Vishnu', 'Vardhan', 'Reddy']
Excel.LaunchExcel.LaunchAndOpenUnderExistingProcess Path: $'''C:\\Users\\vr79540\\OneDrive - Cyient Ltd\\Desktop\\Power Automate Desktop\\Practice\\Text File\\Output.xlsx''' Visible: True ReadOnly: False Instance=> ExcelInstance
Excel.WriteToExcel.WriteCell Instance: ExcelInstance Value: List Column: $'''A''' Row: 1
Excel.ReadFromExcel.ReadAllCells Instance: ExcelInstance ReadAsText: False FirstLineIsHeader: False RangeValue=> ExcelData
Excel.CloseExcel.CloseAndSave Instance: ExcelInstance
@@copilotGeneratedAction: 'False'
Scripting.RunVBScript.RunVBScript VBScriptCode: $'''Const xlUp = -4162
Const xlToLeft = -4159
Dim objExcel, objWorkbook, objSheet
Dim lastRow, rowData(), i
\' Create Excel objects
Set objExcel = CreateObject(\"Excel.Application\")
objExcel.Visible = True
Set objWorkbook = objExcel.Workbooks.Open(\"C:\\Users\\OneDrive\\Desktop\\Power Automate Desktop\\Practice\\Text File\\Output.xlsx\") \' Update the path to your Excel file
Set objSheet = objWorkbook.Sheets(1)
Set objSheet2 = objWorkbook.Sheets(2)
\' Find the last used row in column A
lastRow = objSheet.Cells(objSheet.Rows.Count, 1).End(xlUp).Row
\' Resize the array based on the number of rows
ReDim rowData(lastRow)
\' Read data from Excel sheet (assuming data is in column A)
For i = 1 To lastRow
rowData(i) = objSheet.Cells(i, 1).Value
Next
\' Write data to Excel sheet in a single row
For i = 1 To lastRow
objSheet2.Cells(1, i).Value = rowData(i)
Next
\' Clean up
objWorkbook.Save
objWorkbook.Close
objExcel.Quit
Set objSheet = Nothing
Set objWorkbook = Nothing
Set objExcel = Nothing''' ScriptOutput=> VBScriptOutput2
(Note:- if you got your solution you can mark as solution and gives kudos)
Thanks & Regards
Vishnu Reddy