PC Review


Reply
Thread Tools Rate Thread

Creating and Sharing a .xla VBA Macro

 
 
Sheldon Potolsky
Guest
Posts: n/a
 
      17th Mar 2008
I wrote a macro that will recognize eight different filenames and run
the appropriate section of code when one of those eight (Excel) files
are open. My goal is to make this macro available to a few other
users by creating a .xla file and saving it on a folder on a network
drive. I've created this add-in and placed it in the desired folder
on the network drive and I've looked over this Google group and other,
similar groups but still can't put all the pieces together to make
this available to others. I initially thought this would (should?) be
easy to do but apparently it's not. Any/all suggestions would be
appreciated.
Thanks,
Sheldon Potolsky
 
Reply With Quote
 
 
 
 
gimme_this_gimme_that@yahoo.com
Guest
Posts: n/a
 
      18th Mar 2008
Why you want to store this code in an add in instead of a Workbook?

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      18th Mar 2008
Here's hoow to make the add-in available to other users. Have them go to
Tools menu > Add-Ins, click Browse, then find the add-in on the network.
Once selected, it will be checked in the list, and when you click okay it
will be installed. Any toolbars or other UI elements that it builds will be
available so the user can actually use the code.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Sheldon Potolsky" <(E-Mail Removed)> wrote in message
news:73e94ed9-6c89-4679-b281-(E-Mail Removed)...
>I wrote a macro that will recognize eight different filenames and run
> the appropriate section of code when one of those eight (Excel) files
> are open. My goal is to make this macro available to a few other
> users by creating a .xla file and saving it on a folder on a network
> drive. I've created this add-in and placed it in the desired folder
> on the network drive and I've looked over this Google group and other,
> similar groups but still can't put all the pieces together to make
> this available to others. I initially thought this would (should?) be
> easy to do but apparently it's not. Any/all suggestions would be
> appreciated.
> Thanks,
> Sheldon Potolsky



 
Reply With Quote
 
Sheldon Potolsky
Guest
Posts: n/a
 
      18th Mar 2008
One problem. After creating the add-in, I tried to create a button
and assign a macro (Macros/Custom Button/Modify Selection/Assign Macro
but "Macros In" had no visibility to where I placed my .xla (add-in).
It would only allow me to look in All Open Workbooks, This Workbook or
PERSONAL.XLS. I thought I'd try to manually create a button and see
if it worked but can't figure out how to make it point to where I'd
like it.
Thanks,
Sheldon

On Mar 17, 10:20*pm, "Jon Peltier" <jonxlmv...@SPAMpeltiertech.com>
wrote:
> Here's hoow to make the add-in available to other users. Have them go to
> Tools menu > Add-Ins, click Browse, then find the add-in on the network.
> Once selected, it will be checked in the list, and when you click okay it
> will be installed. Any toolbars or other UI elements that it builds will be
> available so the user can actually use the code.
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Tutorials and Custom Solutions
> Peltier Technical Services, Inc. -http://PeltierTech.com
> _______
>
> "Sheldon Potolsky" <SHPsalm...@aol.com> wrote in message
>
> news:73e94ed9-6c89-4679-b281-(E-Mail Removed)...
>
>
>
> >I wrote a macro that will recognize eight different filenames and run
> > the appropriate section of code when one of those eight (Excel) files
> > are open. *My goal is to make this macro available to a few other
> > users by creating a .xla file and saving it on a folder on a network
> > drive. *I've created this add-in and placed it in the desired folder
> > on the network drive and I've looked over this Google group and other,
> > similar groups but still can't put all the pieces together to make
> > this available to others. *I initially thought this would (should?) be
> > easy to do but apparently it's not. *Any/all suggestions would be
> > appreciated.
> > Thanks,
> > Sheldon Potolsky- Hide quoted text -

>
> - Hide quoted text -


 
Reply With Quote
 
Sheldon Potolsky
Guest
Posts: n/a
 
      18th Mar 2008
I'm not sure what the best way to accomplish this but my goal is still
to make an Excel VBA module that I wrote and is in my PERSONAL.XLS,
available to a few other users. I'm open to the easiest/best way to
do this.
Thanks, Sheldon

On Mar 17, 9:50*pm, "gimme_this_gimme_t...@yahoo.com"
<gimme_this_gimme_t...@yahoo.com> wrote:
> Why you want to store this code in an add in instead of a Workbook?


 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      18th Mar 2008
Don't try to build the toolbar manually. It will not work properly.

Here are some links that show how to build a toolbar or menu automatically
when a workbook is opened:

http://contextures.com/xlToolbar02.html
http://www.j-walk.com/ss/excel/tips/tip53.htm

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Sheldon Potolsky" <(E-Mail Removed)> wrote in message
news:6159d252-e27d-42c9-84e8-(E-Mail Removed)...
One problem. After creating the add-in, I tried to create a button
and assign a macro (Macros/Custom Button/Modify Selection/Assign Macro
but "Macros In" had no visibility to where I placed my .xla (add-in).
It would only allow me to look in All Open Workbooks, This Workbook or
PERSONAL.XLS. I thought I'd try to manually create a button and see
if it worked but can't figure out how to make it point to where I'd
like it.
Thanks,
Sheldon

On Mar 17, 10:20 pm, "Jon Peltier" <jonxlmv...@SPAMpeltiertech.com>
wrote:
> Here's hoow to make the add-in available to other users. Have them go to
> Tools menu > Add-Ins, click Browse, then find the add-in on the network.
> Once selected, it will be checked in the list, and when you click okay it
> will be installed. Any toolbars or other UI elements that it builds will
> be
> available so the user can actually use the code.
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Tutorials and Custom Solutions
> Peltier Technical Services, Inc. -http://PeltierTech.com
> _______
>
> "Sheldon Potolsky" <SHPsalm...@aol.com> wrote in message
>
> news:73e94ed9-6c89-4679-b281-(E-Mail Removed)...
>
>
>
> >I wrote a macro that will recognize eight different filenames and run
> > the appropriate section of code when one of those eight (Excel) files
> > are open. My goal is to make this macro available to a few other
> > users by creating a .xla file and saving it on a folder on a network
> > drive. I've created this add-in and placed it in the desired folder
> > on the network drive and I've looked over this Google group and other,
> > similar groups but still can't put all the pieces together to make
> > this available to others. I initially thought this would (should?) be
> > easy to do but apparently it's not. Any/all suggestions would be
> > appreciated.
> > Thanks,
> > Sheldon Potolsky- Hide quoted text -

>
> - Hide quoted text -



 
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
Sharing Contacts - how to see when creating an email goldengirl217 Microsoft Outlook Contacts 7 2nd Jul 2009 02:19 PM
Creating Macro & Macro Button Lady Success Microsoft Excel Worksheet Functions 0 7th May 2009 03:55 PM
Creating a new folder in Tasks and sharing it in 2003 =?Utf-8?B?aGFwcHlkdWRl?= Microsoft Outlook Discussion 2 2nd Mar 2006 12:50 AM
Creating a macro which presses a button containing a recorded macro petros89 Microsoft Excel Programming 3 5th Oct 2005 02:49 PM
creating a wireless network and sharing broadband over this. psd99 General 4 5th May 2004 10:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:50 AM.