First of all Hi everyone and you have mantained here a good forum that helped me a lot in the past.
My queation is: I have a excel file and I want to apply a filter to a column. The column name is “New Order” and I want it to only show the rows that have a “New Order > 0”… I’ve tryed many thing but none seems to work. Can somebody help? Thank you in advance!
Hello @Poovarasan2! Thank you for your time and help. Where do I integrate that? What I want its to use the same DataTable that I read from the excel and apply that filter in that column. Is that possible?
The end goal is to know whose CC has made new orders with a value higher than 0. SAP stuff… I’ve already filtered the table and re-write the filtered data below! Now maybe I’ll go by your advice and write a new file with the filtered data. One more question, can I make the headers of the new file equal to the headers of the original file? @Mr_JDavey
Yes but I’m talking about the same cell format. Eg: If the headers of the original file are GREY brackgrounded so the headers of the new file must be equal. Is there a way to do that? @Mr_JDavey
Can you pls tell me what wrong i am doing .I am not able to figure it out .
Your query worked for int32 columns.
But when i try to put the filter for firstname = Albert i am getting the following errors
rd_rnge.Select(“[firstname]”=Albert].CopyToDataTable - i get syntax error for this
rd_rnge.Select(“[firstname]=Albert”).CopyToDataTable - I get invalid column name error for this