Hello Guys.
I'm a newbie in vba scripts and I would your help to find a solution for this case.
1 - My macro open a file named BancoRM.xlsx (this file do a consult in SQL in a data server and copy the data).
My first point is: how my macro can open the file BancoRM.xlsx and automatic update the information?
2 - I think this part is more complex. When i set the macro to import the data range (B5:CJ30000) from BancoRM.xlsx to Pasta2.xlsm i need create a condition to filter only the salaries listed for Rio de Janeiro (state) in the column "E". Any ideia how i can do that?
Please check my code below.
Thank you for all support. =)
Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you don't have many posts, even though you have been a member for almost 5 years. --6StringJazzer![]()
Please Login or Register to view this content.
Bookmarks