how to store all item/list inside combobox to spesific range in worksheet, i use this code but doesn't work at all, i thought i missing something there...
Please Login or Register to view this content.
how to store all item/list inside combobox to spesific range in worksheet, i use this code but doesn't work at all, i thought i missing something there...
Please Login or Register to view this content.
Last edited by petroes; 04-12-2020 at 04:04 AM. Reason: dont know about rule number 2
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however you need to include code tags around your code.
Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.
Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
thanks, i'll fix it
When writing combobox items to worksheet it's mandatory to seize the target area correctly.
Please Login or Register to view this content.
Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.
A little more compact...
Please Login or Register to view this content.
i mean nothings happened...
You are quite welcome. In Message #7 you said "I mean nothing happened" which I think you were directing at bakerman2... I just want to point out that if my code worked then bakerman2's code should also have worked since my code and his are structured identically (all I did was simplify his arguments to the Resize property call, but his should have also worked for you as well).
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks