#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Macro vs Shared Doc

Greetings,
I created an Excel doc that has Macros on it. I just turned on the Track
Changes function (which changes my document to a Shared doc) for the
worksheet and now my Macros don't work.
I did get an error message saying that the Macros on my doc could not be
viewed or Edited while being a shared doc. I don't mind that, but I didn't
expect that my Macros would not function. Now when I run one of the Macros,
it freezes Excel. Any ideas on this?
Thank you,
Rod
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Macro vs Shared Doc

Macro's and Shared workbooks do not get along. While you can run macros in
shared workbooks they are severly limited in what they can do. This is
because sharing a workbook is essentially a form of protection which limits
functionallity. If you look in help for shared workbooks you will get a list
of all of the functionallity that is disabled in shared workbooks. Macros can
not be asked to preform any of the tasks listed... That is part of the reason
that I never use shared workbooks. IMO they are more trouble than they are
worth.
--
HTH...

Jim Thomlinson


"Snakeoids" wrote:

Greetings,
I created an Excel doc that has Macros on it. I just turned on the Track
Changes function (which changes my document to a Shared doc) for the
worksheet and now my Macros don't work.
I did get an error message saying that the Macros on my doc could not be
viewed or Edited while being a shared doc. I don't mind that, but I didn't
expect that my Macros would not function. Now when I run one of the Macros,
it freezes Excel. Any ideas on this?
Thank you,
Rod

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default Macro vs Shared Doc

Had same problems with shared workbooks - e.g.

The folowing 2 macros do the same
- delete activecell and move rest of cells in that row to left
- so it's not impossible, but u have to change som code here and there
- what code !!! - im not sure, u have to try it out.

Sub NotOkInShared()
Selection.Delete Shift:=xlToLeft
End Sub

Sub OkInShared()
ActiveCell.Offset(0, 1).Select
Selection.Resize(, Cells(ActiveCell.Row, 255).End(xlToLeft).Column).Cut
ActiveCell.Offset(0, -1).Select
ActiveSheet.Paste
ActiveCell.Select
End Sub



"Snakeoids" skrev:

Greetings,
I created an Excel doc that has Macros on it. I just turned on the Track
Changes function (which changes my document to a Shared doc) for the
worksheet and now my Macros don't work.
I did get an error message saying that the Macros on my doc could not be
viewed or Edited while being a shared doc. I don't mind that, but I didn't
expect that my Macros would not function. Now when I run one of the Macros,
it freezes Excel. Any ideas on this?
Thank you,
Rod

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro vs Shared Doc Snakeoids Excel Discussion (Misc queries) 0 November 1st 07 12:04 AM
Shared workbook and Macro commands Danie Excel Discussion (Misc queries) 4 May 21st 07 03:16 PM
Shared Workbooks with Macro Brendan Vassallo Excel Discussion (Misc queries) 2 April 28th 06 03:45 AM
Macro error when file is shared Eric @ SEASH, Evansville Excel Discussion (Misc queries) 2 August 25th 05 03:26 AM
Excel should allow macro on a shared workbook. Sahin Excel Discussion (Misc queries) 1 June 30th 05 01:31 PM


All times are GMT +1. The time now is 07:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"