Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys
i want to add the expression using macro but i want to evaluate also
AddExpression"Sum({<Name = {'var.Item(0).Text '}>} Data)"
The Problem is it is taking everything as a string which is between "" but i want to evaluate var.Item(0).Text
Please help
hi,
Try this code.
Graph.AddExpression "Sum({<Name = {" & var.Item(0).Text & " }>} Data)"
Deepak
hi,
Try this code.
Graph.AddExpression "Sum({<Name = {" & var.Item(0).Text & " }>} Data)"
Deepak
it is giving the error type mismatch
just try var.text.
Can you attach an application.
Deepak
thanks bro its working
Can i get the no of rows in a particular table using macro?????????
try this code
set TableBox = ActiveDocument.GetSheetObject( "CH01")
v= TableBox.GetRowCount-1