Message Box, If?

Hi everyone,

So I need to show a msgbox like this from an excel where I have some cells with value numbers:

Col 1: “value first cell” , Col2:“value first cell” Row :“Number Row”

I have variables for each collum in a datatable and used an for each and an if but I don’t know how to make the condition in the if activity and in the message box.
Any ideeas, it will help me alot.

Thanks

@Gabriel2 Why do you need an If Condition?

for this i think he is asking

1 Like

You’re right I don’t need if

But I cant find out how to put the condition in the msgbox

@Gabriel2 If I’m not wrong, You just want to Display the Values of the Excel in a Message Box right ?

Yes , In this form:

“Colomn 1:” value of the first cell + “Column 2” value of the first cell column 2 + Row

@Gabriel2
Pass your datatable to for each row activity,and inside the for each row put an message box and type as below,

“Col 1 :”+row(0)+" Col 2 : “+row(1)+” Row number : "+Counter.Tostring and after this message box , increment the counter in assign Counter = Counter+1.
Assign Counter as 1 before the for each row activity .

2 Likes

image

It says End of expression expected

Can you send the screenshot of, what you have written?

@Gabriel2 The Double Quotes need to be Corrected. Add a Double Quote at the Beginning.

2 Likes

Solved! Thanks Alot! :slight_smile:

1 Like

Check this workflow, @Gabriel2
TestSequence.xaml (6.1 KB)

2 Likes