Results 1 to 38 of 38

[SOLVED] Activating Excel Template .xlt

Threaded View

  1. #1
    Forum Contributor amyxkatexx's Avatar
    Join Date
    11-23-2009
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2004 for Mac
    Posts
    128

    [SOLVED] Activating Excel Template .xlt

    I am trying to figure out how to get a template workbook to activate using macros.

    I have used this in the past...

    
    Workbooks("filename.xls").Activate

    ...but this does not work because the .xlt file always opens up with a new name, ie. MacroTemplate.xlt would open as MacroTemplate1.xlt if opened the first time, and the number would go up each time it is opened until Excel has been restarted.

    Is there a different code that can be used or a way that I can type in the filename that it will always recognize the workbook, no matter what number is after "MacroTemplate" ...?

    I did my research but couldn't find anything, so maybe someone on here has the solution I am looking for.

    Thanks.

    -Amy Kate
    Last edited by amyxkatexx; 03-01-2010 at 12:40 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1