mini9301
(mini9301)
1
Hi,
First, I created a variable, ‘오늘날짜시트’ for the ‘Reference new sheet name’ of Insert Sheet acticity.
Second, I tried to use the variable created for the sheet name of Write Range activity, but, had an error as below.
I guess, it is because the type of the variable created(ISheetRef) and required type(String) of sheet name of Write Range activity are different.
How should I fix the source in this case?
Please advice… 
mkankatala
(Mahesh Kankatala)
2
Hi @mini9301
The Variable of Reference is in ISheetRef Datatype, If you want to get the sheet name from that then give like this, Variable.Name
Check the below image for better understanding,
Hope it helps!!
Parvathy
(PS Parvathy)
3
Hi @mini9301

You need to pass the SheetName within Double quotes or if you passing it through variable it datatype is System.String.
Regards
mini9301
(mini9301)
4
Oh, good, It worked!
Thank you for your advice… 
1 Like
mkankatala
(Mahesh Kankatala)
5
It’s my pleasure… @mini9301
Happy Automation!!
system
(system)
Closed
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.