Solved

Can we use Macro's for excel 2007 on shared worksheets.

Posted on 2007-11-22
10
447 Views
Last Modified: 2008-02-07
Hi,
I have excel sheets when shared i am not able to use the macro.Is there anything i need to do Any workaround.
Even when i have a Macro in Outlook and Ctl+Alt+Del and then login the Module opens up every time i lock and unlock the computer.

Regards
SHarath
0
Comment
Question by:bsharath
  • 5
  • 3
  • 2
10 Comments
 
LVL 45

Accepted Solution

by:
patrickab earned 250 total points
ID: 20335452
SHarath,

Excel does not handle 'Shared' workbooks reliably. They are often corrupted at random and apparently without cause. Clearly there is a cause but it has not yet been isolated and fixed by MS. There is nothing you can do to avoid shared workbooks corrupting. The ONLY thing that can be done is to make them single user.

To help you with the single user file system try adopting this approach instead. It does work rather well so it's worth doing. First make the file(s) single user. Second edit everyone's user profile in Excel - Tools/Options/General/UserName and in there put the person's name and telephone extension number. Then whenever you attempt to open a file that someone else is using, a dialogue box will pop-up telling you who is the current user - and it tells you their telephone extension number! The new user can opt to either call the current user or open the file as read-only.

For Office 2007:  Office Button > Excel Options >Popular tab >User name

Patrick
0
 
LVL 11

Author Comment

by:bsharath
ID: 20335464
Patrick.
IS there a way to run Macro's on a shared worksheet.?
0
 
LVL 45

Expert Comment

by:patrickab
ID: 20335486
bsharath,

Yes there is. However to provide that information would be totally contrary to my recommendations of not 'sharing' workbooks.

Patrick
0
 
LVL 11

Author Comment

by:bsharath
ID: 20335498
But there is no other way at this point for me.We need to finish a bit asset detail where 3 persons have to work on the file.
0
 
LVL 45

Expert Comment

by:patrickab
ID: 20335796
I suggest you get them to work on the file at different times - all as single users.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 12

Expert Comment

by:James Elliott
ID: 20337858
I too agree with Patrick in respect of shared workbooks, but I'm prepared to try and help given that your problem sounds fairly immediate.

What error message do you get? Running simple macros should work. Shared workbooks however do have some disabled features that can only be used if opened exclusively. Merging cells, conditional formatting, charts, sheet additions/deletions, subtotals, validation  to name but a few.

If your macro attempts to do any of these things, then there is no workaround, other than to use the solution suggested by Patrick.

Jell

0
 
LVL 11

Author Comment

by:bsharath
ID: 20338141
My question is if the worksheet is shared can we se macros.
In my machine i am not able to use macro's on shared sheets.
0
 
LVL 45

Expert Comment

by:patrickab
ID: 20338353
Use the file as a single user file and then each user will have access to the macros in the file. Sorry, but that is my best recommendation.
0
 
LVL 12

Assisted Solution

by:James Elliott
James Elliott earned 250 total points
ID: 20338388
No, the code behind macro's cannot easily be viewed when the workbook is shared. It is possible however to run macros that do not infringe my afformentioned contraints.

The 'best' solution however is the one that Patrick has already proposed.
0
 
LVL 45

Expert Comment

by:patrickab
ID: 20348767
SHarath - Thanks for the grade and points - Patrick
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Outlook other person's Folder access 4 29
Access Excel export not behaving 2 27
excel help 4 20
nested if statement in excel help 4 16
If you don't know how to downgrade, my instructions below should be helpful.
Find out what you should include to make the best professional email signature for your organization.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now