PC Review


Reply
Thread Tools Rate Thread

can you store macros on server?

 
 
=?Utf-8?B?RGFuaWVsIE0=?=
Guest
Posts: n/a
 
      20th Nov 2007
I have a few macros i am writing for mulitple users to access in multiple
spreadsheets that may get updated on occation. Is there a way to store them
on a server and have everyone pointed to it? I dont really want to have to go
update everyones machine with a new personal.xls file each time. Any other
suggestions?

Thanks.
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      20th Nov 2007
Sure.

In fact, you may want to save your macros in an addin. Then the users could use
tools|addins and browse to that location.

And you may want to give the user a way to execute the macros:

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

If you want to learn about modifying the ribbon in xl2007, you can start at Ron
de Bruin's site:
http://www.rondebruin.nl
or
http://www.rondebruin.nl/ribbon.htm


Daniel M wrote:
>
> I have a few macros i am writing for mulitple users to access in multiple
> spreadsheets that may get updated on occation. Is there a way to store them
> on a server and have everyone pointed to it? I dont really want to have to go
> update everyones machine with a new personal.xls file each time. Any other
> suggestions?
>
> Thanks.


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?RGFuaWVsIE0=?=
Guest
Posts: n/a
 
      22nd Nov 2007
OK i understand i can save a excel file with a custom menubar in it. in that
menubar i can call macros. but the macros themselves do not show up when i do
tools...macros. Is there a way for this to happen?

THanks.

daniel.

"Dave Peterson" wrote:

> Sure.
>
> In fact, you may want to save your macros in an addin. Then the users could use
> tools|addins and browse to that location.
>
> And you may want to give the user a way to execute the macros:
>
> For additions to the worksheet menu bar, I really like the way John Walkenbach
> does it in his menumaker workbook:
> http://j-walk.com/ss/excel/tips/tip53.htm
>
> Here's how I do it when I want a toolbar:
> http://www.contextures.com/xlToolbar02.html
> (from Debra Dalgleish's site)
>
> If you want to learn about modifying the ribbon in xl2007, you can start at Ron
> de Bruin's site:
> http://www.rondebruin.nl
> or
> http://www.rondebruin.nl/ribbon.htm
>
>
> Daniel M wrote:
> >
> > I have a few macros i am writing for mulitple users to access in multiple
> > spreadsheets that may get updated on occation. Is there a way to store them
> > on a server and have everyone pointed to it? I dont really want to have to go
> > update everyones machine with a new personal.xls file each time. Any other
> > suggestions?
> >
> > Thanks.

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      22nd Nov 2007
If you save the workbook as an addin, then the macros won't appear in that
dialog.

You can either give the user a way to access the macros (toolbar???). If I have
lots of stuff, I like to modify the menu bar (John Walkenbach's code).

Or you could save the file as a normal workbook (.xls).

You may want to open the workbook, save it as a normal workbook, then use
Windows|Hide to hide the workbook's window.

Then close excel. You'll be asked if you want to save the file (with the
windows hidden). If you answer yes, then when you open the workbook, it won't
be visible. But the macros will be available in that tools|macro dialog.

If you have a personal.xls file, I bet you've done something like this already.

Daniel M wrote:
>
> OK i understand i can save a excel file with a custom menubar in it. in that
> menubar i can call macros. but the macros themselves do not show up when i do
> tools...macros. Is there a way for this to happen?
>
> THanks.
>
> daniel.
>
> "Dave Peterson" wrote:
>
> > Sure.
> >
> > In fact, you may want to save your macros in an addin. Then the users could use
> > tools|addins and browse to that location.
> >
> > And you may want to give the user a way to execute the macros:
> >
> > For additions to the worksheet menu bar, I really like the way John Walkenbach
> > does it in his menumaker workbook:
> > http://j-walk.com/ss/excel/tips/tip53.htm
> >
> > Here's how I do it when I want a toolbar:
> > http://www.contextures.com/xlToolbar02.html
> > (from Debra Dalgleish's site)
> >
> > If you want to learn about modifying the ribbon in xl2007, you can start at Ron
> > de Bruin's site:
> > http://www.rondebruin.nl
> > or
> > http://www.rondebruin.nl/ribbon.htm
> >
> >
> > Daniel M wrote:
> > >
> > > I have a few macros i am writing for mulitple users to access in multiple
> > > spreadsheets that may get updated on occation. Is there a way to store them
> > > on a server and have everyone pointed to it? I dont really want to have to go
> > > update everyones machine with a new personal.xls file each time. Any other
> > > suggestions?
> > >
> > > Thanks.

> >
> > --
> >
> > Dave Peterson
> >


--

Dave Peterson
 
Reply With Quote
 
Randy Harmelink
Guest
Posts: n/a
 
      22nd Nov 2007
The macros ARE available through the dialog. They just aren't listed
there. You need to type them in. I have a lot of my add-in macros
either assigned to keyboard shortcuts or something I can click on in
the workbook.

On Nov 21, 8:26 pm, Daniel M <Dani...@discussions.microsoft.com>
wrote:
> but the [add-in] macros themselves do not show up when i do
> tools...macros. Is there a way for this to happen?

 
Reply With Quote
 
=?Utf-8?B?RGFuaWVsIE0=?=
Guest
Posts: n/a
 
      22nd Nov 2007
Thanks! This seems to work ok. I tried to type in the macro name but it didnt
seem to run. do i need a full path? ie: hiddenmacro.xls macro? I did go and
assign a key stroke to it and i was able to get it to run.

Here is my final problem with this...I want to be able to call this from
access. I have access open excel and i have an addin installed on the pc. Now
how do i call the macro in code? I have it as a menu item but i dont know the
code to call a custom menu item, I can assign keystokes to it but how do i
call that in code?

Thanks.

"Randy Harmelink" wrote:

> The macros ARE available through the dialog. They just aren't listed
> there. You need to type them in. I have a lot of my add-in macros
> either assigned to keyboard shortcuts or something I can click on in
> the workbook.
>
> On Nov 21, 8:26 pm, Daniel M <Dani...@discussions.microsoft.com>
> wrote:
> > but the [add-in] macros themselves do not show up when i do
> > tools...macros. Is there a way for this to happen?

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to store macros? chin_un_len Microsoft Excel Misc 3 11th Feb 2006 11:10 PM
USING AN .xla FILE TO STORE MACROS Chuckles123 Microsoft Excel Programming 1 2nd Nov 2004 12:13 AM
USING AN .xla FILE TO STORE MACROS Chuckles123 Microsoft Excel Programming 2 31st Oct 2004 12:25 AM
Where to store standard macros GB Microsoft Excel Programming 4 11th Oct 2003 12:40 AM
where can i store macros? Amy Heavey Microsoft Excel Misc 3 12th Jul 2003 05:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:33 AM.