Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default macros for end users

I need to make two macros readily available to one primary user, who
will then create a variety of workbooks with those macros attached and
pass them along to end users. I'm trying to avoid having either the
primary user or the end users go through any code installation
routines; they should be able just to use the macros. But everything
I've read either assumes that I'm writing macros only for myself or
that I'm distributing them to technically savvy users.

I tried to put the macros on toolbar buttons, but there were problems,
so then I tried keyboard shortcuts, which got me closer, but there are
still problems. One user can use the keyboard shortcuts successfully,
another can only use one of them, one of the macros shows up with an
invalid name in the macro list but still runs from the keyboard....etc.
All kinds of weird stuff.

I'm trying to do things like I would in MS Word, and it's just not
working. I need the "right" way to do this so I can feel confident that
by the time the real end users get their hands on the workbooks, these
macros will work for them. Should I do these as add-ins? Do the users
have to do anything techie at all to access them, or can I automate
that for them?

Thanks ----

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default macros for end users

A bit more detail about the "weird stuff".

I created my macros within ThisWorkbook. But now, in my macro list
(Tools Macro Macros), they show up with these names:
protedit.xls!ProtDelete and protedit.xls!ProtInsert. (protedit.xls is,
obviously, the name of the workbook.) Neither macro is runnable from
this window.

If I close the macro window and just press my keyboard shortcut for
ProtInsert, I just get the keyboard error "ding". But if I open the
macro window again, the macro names now show as ThisWorkbook.ProtInsert
and ThisWorkbook.ProtDelete. Then if I close the window and press the
keyboard shortcut again, it operates properly. And if I open the macro
window yet again, it shows the other macro name correctly, but the name
of the macro I just executed is wrong again. After a few more confusing
iterations, it seems to all clear up... for _me_. But not for my
primary user, who can't get the first macro to run at all.

Any ideas on these specifics or on my more general earlier question
would be greatly appreciated!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default macros for end users

Anybody out there? There must be a way. How does everybody else make
macros available to non-tech end users without requiring a distinct
installation process? Please help!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default macros for end users

If I want to add options to the menubar, I use a variation of John Walkenbach's
menumaker:
http://j-walk.com/ss/excel/tips/tip53.htm

If I want to add a toolbar of my own, here's how I do it:
http://groups.google.co.uk/groups?th...5B41%40msn.com

I save the file as a .xla (addin).

Then I tell the end user to just open that workbork when they need that
functionality.

If it's a set of routines that should always be available, the user can add it
manually via Tools|Addins (and browse for their copy -- or point to a common
network file.

If there has to be separate installs (gonna be a pain to play catchup when you
have to make a change), Jan Karel Pieterse has a nice install program included
in the .zip file for his (with Charles Williams and Matthew Henson) name manager
utility.

You can find it at:
NameManager.Zip from http://www.oaltd.co.uk/mvp/



wrote:

Anybody out there? There must be a way. How does everybody else make
macros available to non-tech end users without requiring a distinct
installation process? Please help!


--

Dave Peterson
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
sharing macros with other users DNader Excel Discussion (Misc queries) 3 June 26th 08 06:24 PM
Macros will not run for a subset of users Shane ITO DMX Excel Discussion (Misc queries) 0 September 18th 07 08:44 PM
how do I import macros from other users Jim Neal Excel Programming 1 February 11th 05 03:33 PM
Hide Macros from Users using workbook! gr8guy Excel Programming 11 May 16th 04 05:08 PM
Hide Macros from Users Larry Graff Excel Programming 2 September 10th 03 05:41 PM


All times are GMT +1. The time now is 03:39 PM.

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"