Hello
with the excellent help from an article on your website for consolidating multiple excel files I thought I had solved my problem - that is pull data from several source files into a master sheet then delete the data from source files and save them so that the next time I run the GetData code I am not pulling across duplicate info. So on my my Mac at home the attached files work. But to my disappointment when I use the same code at work on Windows the code opens source, copies data to clipboard but then does not copy to Master sheet and does not close and save source file. I really hope some one can maybe see why this is not working on Window 7/Excel 10.
The only difference I can see is that the file path is different as I use \ as separator in file path - and if I take out Selection.entrierow.delete it works in windows, it seems it does not like me changing source before data has been pasted.
Thank you in anticipation, I hope someone can help please. And apologies if I have not posted this correctly - I am new to this excellent excel source of information.
lizbeef
with the excellent help from an article on your website for consolidating multiple excel files I thought I had solved my problem - that is pull data from several source files into a master sheet then delete the data from source files and save them so that the next time I run the GetData code I am not pulling across duplicate info. So on my my Mac at home the attached files work. But to my disappointment when I use the same code at work on Windows the code opens source, copies data to clipboard but then does not copy to Master sheet and does not close and save source file. I really hope some one can maybe see why this is not working on Window 7/Excel 10.
The only difference I can see is that the file path is different as I use \ as separator in file path - and if I take out Selection.entrierow.delete it works in windows, it seems it does not like me changing source before data has been pasted.
Thank you in anticipation, I hope someone can help please. And apologies if I have not posted this correctly - I am new to this excellent excel source of information.
lizbeef