how to share a workbook with vba project?

I created a file with a command button in sheet1 that automatically copies all of entries you encoded and paste it in sheet 2. I wanted this file to be available for other users for editing. It works in lower version of excel like 2003. but when i transferred it in a higher version like 2010, the button automatically deactivates. It only activates every time I turn off the "share workbook". I tried to create a new file using Excel 2010 version but same thing happened. Shared work book is very critical in our work as it makes our work less hassle particularly in preparing reports. Is there a way to address this..? Please help me.
henry_0530Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
I hope this is not too bad news but if you do some Googling you'll see that shared Excel workbooks are rife with problems and that Access is recommended.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
[ fanpages ]IT Services ConsultantCommented:
Hi henry_0530,

It is a widely-held premise, especially with "Experts" at this site, that there are two states of a shared workbook:

a) One that has caused data within it to be corrupted, or
b) One that has not corrupted data... yet.

That said, I have provided (read: had the misfortune to use against my better judgement) shared workbooks to my clients on a number of occasions &, although issues did occur from time-to-time, as long as regular backups of workbook files were taken (usually on an hourly basis), the amount of rework necessary in the event of corruption is kept to a minimum.

The practical usage of shared workbooks is debatable, as they can cause issues in a variety of ways, especially as the number of concurrent users increases.

However, these issues can be reduced or, at least, the frequency of their occurrence can be limited, by writing additional Visual Basic for Application code, or approaching the design of a workbook's implementation (&, hence, code) differently to single/exclusive-use workbooks.

Shared workbooks do have limitations; some of which can be overcome with alternate approaches, but without prior knowledge of exactly what your workbook is doing, it will be difficult to advise you.

Just for background reading or, perhaps for you to understand why you have the problem you described, here is a summary of what features are unavailable (in MS-Excel 2007 & MS-Excel 2010) when a workbook is shared:

[ https://support.office.com/en-ca/article/Use-a-shared-workbook-to-collaborate-49b833c0-873b-48d8-8bf2-c1c59a628534#bmshareworkbook ]

---

The issue you stated above is difficult to analyse without further information about how the command button is created or if/how the presentation of it is manipulated within the Visual Basic for Applications code, plus any of the actions it may perform within your workbook.

The provision of a sample workbook that includes both the button & the relevant code to demonstrate your issue would be very useful, if you can do this, please.

The resolution may simply be the choice of button (ActiveX of Form control) used, but without seeing the problem first-hand, or understanding what the problem is, then progress on your issue is probably not going to happen.
Martin LissOlder than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.