+ Reply to Thread
Results 1 to 2 of 2

Macro to Save As for an Excel Macro Enabled workbook

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    West Des Moines
    MS-Off Ver
    Excel 2007 & Excel 2010
    Posts
    8

    Macro to Save As for an Excel Macro Enabled workbook

    I am trying to write a save as macro that will allow my user to click a button on the worksheet and prompt a save as box to save the worksheet as Macro Enabled. What I have written so far allows me to save as a regular worksheet without the macro enabled. When I try to change the xlsx to slxm I get an error box that just says 400. Can someone tell me what I need to change to get that to go away? I copied the code from another post called "Macro to prompt save as - http://www.excelforum.com/excel-programming-vba-macros/947851-macro-to-prompt-to-save-as.html"

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Macro to Save As for an Excel Macro Enabled workbook

    Assuming it's a type put it sould be xlsm not slxm as you mention in your post.

    Anyway, untested because I'm a 2003 user but I believe it should be:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Set default Save-As parameter to Macro Enabled workbook
    By JimDandy in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-24-2013, 09:26 AM
  2. [SOLVED] VBA to save macro enabled workbook to regular workbook
    By Jiptastic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-15-2013, 09:41 PM
  3. [SOLVED] Issue with VBA - Save as macro enabled workbook - address problem.
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-09-2012, 08:14 AM
  4. Replies: 1
    Last Post: 04-01-2011, 05:02 AM
  5. Replies: 6
    Last Post: 01-05-2010, 11:09 AM

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