Terminal Session에서 Port 항목 변수처리 방법

터미널 세션 액티비티에서 다음과 같이 구성을 한다고 할때 host와 port 부분을 제가 엑셀에서 가져온 변수로 입력을 하고 싶은데 적용이 안 되는 문제가 생겼습니다.
예를 들어 저는 새새션의 연결문자열을 아래와 같이 입력을 했습니다.
“{‘AttachExisting’:false,‘ConnectionProtocol’:1,‘ConnectionType’:1,‘EhllBasicMode’:false,‘EhllDll’:null,‘EhllEnhanced’:true,‘EhllFunction’:‘hllapi’,‘EhllSession’:‘A’,‘EnableSSL’:false,‘Host’:‘CurrentRows[1].ToString()’,‘InProcessMode’:false,‘InternalEncoding’:‘IBM037’,‘Mode’:1,‘Port’:CurrentRows.[2].ToString(),‘Profile’:null,‘ProviderType’:9,‘ShowTerminal’:true,‘TerminalModel’:0,‘TerminalType’:0}”
다음과 같이 변환이 되어 반환됩니다.
“{‘AttachExisting’:false,‘ConnectionProtocol’:1,‘ConnectionType’:1,‘EhllBasicMode’:false,‘EhllDll’:null,‘EhllEnhanced’:true,‘EhllFunction’:‘hllapi’,‘EhllSession’:‘A’,‘EnableSSL’:false,‘Host’:‘CurrentRows[1].ToString()’,‘InProcessMode’:false,‘InternalEncoding’:‘IBM037’,‘Mode’:1,‘Port’:2,‘Profile’:null,‘ProviderType’:9,‘ShowTerminal’:true,‘TerminalModel’:0,‘TerminalType’:0}”
이를 해결하는 좋은 방법이 있다면 알려주셨으면 합니다.