IncredibleVolk
Technical User
I'm using a script that grabs information off the terminal screen and places it into Excel. The script works great but I'm having difficulty doing two things.
1. Deleting a column in Excel
2. Renaming a worksheet in the workbook.
I think this delete logic is incorrect but I don't know the correct logic to use for deleting a column.
if Number3a == 0
ddeexecute LinkVar "[SELECT(`"C2`")]"
ddeexecute LinkVar "[DELETE(`"C2`")]"
endif
I believe this is incorrect as well:
ddeexecute LinkVar "[WORKBOOK.SELECT(`"Sheet1`")]"
ddepoke LinkVar "Sheet1" "Test"
1. Deleting a column in Excel
2. Renaming a worksheet in the workbook.
I think this delete logic is incorrect but I don't know the correct logic to use for deleting a column.
if Number3a == 0
ddeexecute LinkVar "[SELECT(`"C2`")]"
ddeexecute LinkVar "[DELETE(`"C2`")]"
endif
I believe this is incorrect as well:
ddeexecute LinkVar "[WORKBOOK.SELECT(`"Sheet1`")]"
ddepoke LinkVar "Sheet1" "Test"