Hi Guys,
I am a real newbie, so please bare with my ignorance :). Also this is a long set of questions and answers for any of them would be greatly appreciated.
1)
I am working on this project where i am looking to pick up filtered data from a table (in Access) and insert this into an already existing excel file. The problem is that the number of rows depending on the filter will be different everytime.
I was wondering how exactly i could insert them in the middle of two rows already in the excel file. Also if this can be done line by line through a loop.
The reason i would want to do it line by line is since the values might be in % or an absolute value, so i would need to treat them differently.
I really hope i have explained this properly. please do let me know if i can explain anything in more detail.
2)
This is also automation of excel through Access VBA.
What is the syntax for checking if an excel file is already open, and how can i edit that particular file. I have been using code to set the autofilter on an excel file but it only works when 1 excel file is open, if more than one is open then it gives an error.
Thanks again for your time.
Cheers!
Paradigm
I am a real newbie, so please bare with my ignorance :). Also this is a long set of questions and answers for any of them would be greatly appreciated.
1)
I am working on this project where i am looking to pick up filtered data from a table (in Access) and insert this into an already existing excel file. The problem is that the number of rows depending on the filter will be different everytime.
I was wondering how exactly i could insert them in the middle of two rows already in the excel file. Also if this can be done line by line through a loop.
The reason i would want to do it line by line is since the values might be in % or an absolute value, so i would need to treat them differently.
I really hope i have explained this properly. please do let me know if i can explain anything in more detail.
2)
This is also automation of excel through Access VBA.
What is the syntax for checking if an excel file is already open, and how can i edit that particular file. I have been using code to set the autofilter on an excel file but it only works when 1 excel file is open, if more than one is open then it gives an error.
Thanks again for your time.
Cheers!
Paradigm
Comment