Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need Macro1 to call Macro2 stored on Network drive


I would like to have a macro triggered by
by a toolbar button that would call
another macro that is stored out on a Network
drive. Is this possible using Excel VB script?
If so, how?

Appreciate any help you are willing to offer.
Thanks.
MP


--
LESman
------------------------------------------------------------------------
LESman's Profile: http://www.excelforum.com/member.php...o&userid=24150
View this thread: http://www.excelforum.com/showthread...hreadid=377749

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Need Macro1 to call Macro2 stored on Network drive

One approach to try is to use My Computer to assign a network drive i.e. Z:

Then you would include code like:

Windows("Z:\library.xls").Activate
Application.Run "Z:\personal.xls!comac"

This would access macro comac in spreadsheet library.xls on the Z €“drive.
Network considerations might require different code.

--
Gary's Student


"LESman" wrote:


I would like to have a macro triggered by
by a toolbar button that would call
another macro that is stored out on a Network
drive. Is this possible using Excel VB script?
If so, how?

Appreciate any help you are willing to offer.
Thanks.
MP


--
LESman
------------------------------------------------------------------------
LESman's Profile: http://www.excelforum.com/member.php...o&userid=24150
View this thread: http://www.excelforum.com/showthread...hreadid=377749


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Need Macro1 to call Macro2 stored on Network drive

Can't you just assign the macro to the toolbar when you build the toolbar.
Remember to use the UNC naming convention.

LESman wrote:

I would like to have a macro triggered by
by a toolbar button that would call
another macro that is stored out on a Network
drive. Is this possible using Excel VB script?
If so, how?

Appreciate any help you are willing to offer.
Thanks.
MP

--
LESman
------------------------------------------------------------------------
LESman's Profile: http://www.excelforum.com/member.php...o&userid=24150
View this thread: http://www.excelforum.com/showthread...hreadid=377749


--

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
map network drive lumpy04 Excel Discussion (Misc queries) 1 March 15th 07 05:31 PM
Calling a common XLA Library file, stored on a network drive :) eXcellence Excel Discussion (Misc queries) 5 June 28th 05 02:10 PM
Calling a common XLA Library file, stored on a network drive :) eXcellence Setting up and Configuration of Excel 5 June 28th 05 02:10 PM
Link workbooks-C drive to network drive Earl Excel Worksheet Functions 0 April 19th 05 05:50 PM
Userform Local Drive & Network drive question Joel Mills Excel Programming 3 December 29th 04 10:43 PM


All times are GMT +1. The time now is 06:29 AM.

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

About Us

"It's about Microsoft Excel"