Hi all i am facing some problem. i don't know how do i resolve it. any one can help me?
Actually i want, when i select the "Resource Name" from drop down in summary sheet then all the data fetch from the BD sheet.
Hi all i am facing some problem. i don't know how do i resolve it. any one can help me?
Actually i want, when i select the "Resource Name" from drop down in summary sheet then all the data fetch from the BD sheet.
Here is some VBA code that will do what you want, however to make this work, you will need to unmerge all the cells in rows 5 and 6 or the code will not work. VBA does not play well with merged cells. Place a command button on your Summary worksheet and attach this code to the button.
Please Login or Register to view this content.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Thanks Alan for this help. i need one more help. when i change one Resource Name to another name then previous resource data already have in the summary sheet. I want to show only selected resource name data.
@Alan:
you could probably get away with using column F to determine the last row. Then you can leave the merged cells alone.
Please Login or Register to view this content.
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Hi TMS
i need one more help. when i change one Resource Name to another name then previous resource data already keep in the summary sheet. I want to show only selected resource name data.
Please Login or Register to view this content.
Hi TMS,
i am getting run time error 1004 "We can't do that to a merged cell"
i have made some changes in the code and it is working fine...thanks TMS
Please Login or Register to view this content.
What can I say? It doesn't do that for me with the sample file that you uploaded. I didn't change the structure of any of the sheets. I just copied and adapted Alan's code, and then added the extra lines to clear the data before refreshing.
I think you need to look at the layout of your live workbook. The code, as it stands, should not be trying to clear any merged cells.
You're welcome. Thanks for the rep.
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
New quick method:
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Or you can use this way:
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.
Hi TMS,
I have made some changes and getting an error. Can you please tell me where i have done a mistake?
Hi TMS,
Sorry.. i have attached wrong file... Please find attached the right file.
Please Login or Register to view this content.
i want to see all the BD data when i select the "ALL" from combo box. So please let me know, where i need to change the code.
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks