LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Combining Macros to make one Macro.

The macros only vary by the name of the linked file. Assuming they all have
just one linked file you can break it by position rather than by name:

ActiveWorkbook.BreakLink _
ActiveWorkbook.LinkSources(Type:=xlLinkTypeExcelLi nks)(1), _
xlLinkTypeExcelLinks

So you only need one macro.

Use this to block the prompt:

Application.DisplayAlerts = False
ActiveWorkbook.ExclusiveAccess

--
Jim Rech
Excel MVP


 
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
Combining two macros Colin Hayes Excel Discussion (Misc queries) 2 June 7th 11 02:28 PM
Combining macros aussiegirlone Excel Discussion (Misc queries) 9 June 30th 09 03:14 AM
make macro run other macros in Exc 2007,no problems in Exc 2003 SteveB Excel Discussion (Misc queries) 2 October 19th 08 02:30 AM
make macros usable! make instructions in plain english !!!! Brainless_in_Boston Excel Worksheet Functions 0 March 2nd 06 03:27 PM
Combining 3 macros to 1 David Excel Programming 3 April 16th 04 02:35 PM


All times are GMT +1. The time now is 11:06 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"