I recently made a development on file search on excel 2013 but i am getting an error when using it with excel 2007 with the activeworkbook.refreshall Please help me out Check attachment for the code Thanks in advance