Missing Excel Macro - Didn't save as .xlsm

So I realized that I didn't save my file as a macro-enabled workbook before I closed it, and now my macro is completely gone.  I haven't shut down the computer since then, and I was wondering if it was still in my computer in a temporary folder somewhere. 
I already tried going to the PERSONAL in C:\Users\XXXX\AppData\Roaming\Microsoft\Excel\XLSTART and I didn't not find anything there.  Is there anything I can do now, or is that baby gone?  This is Excel 2010

So I realized that I didn't save my file as a macro-enabled workbook before I closed it, and now my macro is completely gone.  I haven't shut down the computer since then, and I was wondering if it was still in my computer in a temporary folder
somewhere.  I already tried going to the PERSONAL in C:\Users\XXXX\AppData\Roaming\Microsoft\Excel\XLSTART and I didn't not find anything there.  Is there anything I can do now, or is that baby gone?  This is Excel 2010
That baby is gone. :(
Daniel van den Berg | Washington, USA | "Anticipate the difficult by managing the easy"
Please vote an answer helpful if they helped. Please mark an answer(s) as an answer when your question is being answered.

Similar Messages

  • 'Edit in Place' for XLSM-files (Excel Macro-Enabled)

    Hi,
    is it possible to activate 'Edit in Place' for xlsm-files (Excel Macro-Enabled Workbook file)?
    For xls(x)-files there is the link 'Edit This File', but not for files of type 'xlsm' allthough they could be dealt the same way with Excel.
    I know I can edit this files using the 'Add-in for MS Office' and via the 'Vibe Desktop', but it would be nice to deal them like other Excel-files.
    thx
    Martin

    Originally Posted by mschuhmann
    RTFM helps I admit:
    Novell Vibe 3.3 Administration Guide > Site Setup > Setting Up Site-Wide Customizations > Configuring File Associations for Edit in Place Applications
    Novell Doc: Novell Vibe 3.3 Administration Guide - Configuring File Associations for Edit in Place Applications
    Append ".xlsm" for the variable edit.in.place.file.applet.extensions, edit.in.place.file.webdav.extensions
    Hi Martin,
    Yeah, the Vibe docs can help on occasion
    Still, thanks for feeding it back to the forums as it can be quicker finding a hit in the forums than having to go through the docs!
    Cheers,
    Willem

  • Excel Macro screen update

    Hello,
    I'm using  the above  approach to connect to SAP in order to upload data from excel to SAP R/3  transaction.
    Myquestions is there exist  away to prevent the screen flickering from EXCEL to SAP during the macro processing , tried to the statement at the excel macro :   Application.ScreenUpdating =FALSE  which didn't  worked.
    In other words my requirement is not see SAP screen at all during the macro processing.
    If Not IsObject(SAPguiApp) Then
        Set SAPguiApp = CreateObject("Sapgui.ScriptingCtrl.1")
    End If
    If Not IsObject(Connection) Then
        Set Connection = SAPguiApp.OpenConnection("SYSTEM", True)
    End If
    If Not IsObject(Session) Then
        Set Session = Connection.Children(0)
    End If
    Session.findById("wnd[0]/usr/txtRSYST-MANDT").Text = "CLIENT"
    Session.findById("wnd[0]/usr/txtRSYST-BNAME").Text = "USER"
    Session.findById("wnd[0]/usr/pwdRSYST-BCODE").Text = "PASSWORD"
    Session.findById("wnd[0]/usr/txtRSYST-LANGU").Text = "EN"
    Session.findById("wnd[0]/usr/txtRSYST-LANGU").SetFocus
    Session.findById("wnd[0]/usr/txtRSYST-LANGU").caretPosition = 2
    Session.findById("wnd[0]").sendVKey 0
    'Here follows the recorded VBScript . . .
    Regards,
    Mark

    Hi Mark, welcome to the forum.
    I'd test it with session.findById("wnd [0]"). iconify.
    And I would eliminate the command session.findById("wnd [0]").maximize.
    Regards,
    ScriptMan

  • Excel encountered errors during save. however excel was able to minimally save your file to C:\...

    Error: Excel encountered errors during save. However, Excel was able to minimally save your file to c:\users\*****\appdata\roaming\microsoft\excel\***.xlsb.
    Basically, these are multiple macro enabled spreadsheets from one client. It happens with no other clients who also use macros. They are all saved to our network, which has plenty of space. Any of our users that access these files have the same issue.
      

    Hi
    Take following steps to troubleshoot the issue:
    Check the Macro and File Blocker settings in the Trust Center.(File>Option>Trust center>Trust center settings)
    Then we suggest to perform a clean startup to determine whether background programs are interfering with your Office program.
    http://support.microsoft.com/kb/331796
    It is recommended that you disable Antivirus application while checking the issue.
    Regards
    Tylor Wang
    TechNet Community Support

  • How to run excel macro from ole

    hi to all experts.
    i need to run excel macro from ole

    Hi,
    *& Report  ZKC_TEST
    *& Description: Fancy report output in XL
    *&Programmer: Krishna Chauhan
    *&Date:       20 Feb 09
    REPORT  ZKC_TEST.
    * INCLUDES                                            *
    INCLUDE ole2incl.
    *&   TYPES                                            *
    TYPES: BEGIN OF ty_marc,
           matnr TYPE marc-matnr,
           werks TYPE marc-werks,
           pstat TYPE marc-pstat,
           lvorm TYPE marc-lvorm,
           ekgrp TYPE marc-ekgrp,
           END OF ty_marc.
    TYPES: BEGIN OF ty_titles,
           title(20) TYPE c,
           field(20) TYPE c,
           END OF ty_titles.
    *&   INTERNAL TABLES                                  *
    DATA: t_marc TYPE STANDARD TABLE OF ty_marc,
          t_titles TYPE STANDARD TABLE OF ty_titles.
    *&   FIELD-SYMBOLS                                    *
    FIELD-SYMBOLS: <fs_marc>   LIKE LINE OF t_marc,
                   <fs_titles> LIKE LINE OF t_titles,
                   <fs> TYPE ANY.
    *&   VARIABLES                                        *
    DATA: w_tabix TYPE sy-tabix,
          w_titles TYPE sy-tabix,
          w_line TYPE sy-tabix,
          w_field TYPE string,
          filename TYPE string,
          path TYPE string,
          fullpath TYPE string.
    DATA: data_titles TYPE REF TO data.
    DATA: e_sheet TYPE ole2_object,
          e_activesheet TYPE ole2_object,
          e_newsheet TYPE ole2_object,
          e_appl TYPE ole2_object,
          e_work TYPE ole2_object,
          e_cell TYPE ole2_object,
          e_color TYPE ole2_object,
          e_bold TYPE ole2_object.
    *&   SELECTION-SCREEN                                 *
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    PARAMETERS: p_file TYPE rlgrap-filename.
    SELECTION-SCREEN END OF BLOCK b1.
    *&  START-OF-SELECTION                                *
    START-OF-SELECTION.
      PERFORM get_titles.
      PERFORM get_data.
      PERFORM create_excel.
    *& AT SELECTION-SCREEN                                *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          window_title      = 'Select archivo'
          default_extension = 'xls'
          file_filter       = '*.xls'
        CHANGING
          filename          = filename
          path              = path
          fullpath          = fullpath.
      IF sy-subrc EQ 0.
        p_file = fullpath.
      ENDIF.
    *&      Form  get_titles                              *
    FORM get_titles.
      CREATE DATA data_titles TYPE ty_titles.
      ASSIGN data_titles->* TO <fs_titles>.
      <fs_titles>-title = 'Material'.
      <fs_titles>-field = 'MATNR'.
      APPEND <fs_titles> TO t_titles.
      <fs_titles>-title = 'Plant'.
      <fs_titles>-field = 'WERKS'.
      APPEND <fs_titles> TO t_titles.
      <fs_titles>-title = 'PSTAT'.
      <fs_titles>-field = 'PSTAT'.
      APPEND <fs_titles> TO t_titles.
      <fs_titles>-title = 'Deletion Flag'.
      <fs_titles>-field = 'LVORM'.
      APPEND <fs_titles> TO t_titles.
      <fs_titles>-title = 'EKGRP'.
      <fs_titles>-field = 'EKGRP'.
      APPEND <fs_titles> TO t_titles.
    ENDFORM.                    "get_titles
    *&      Form  get_data                                *
    FORM get_data.
      SELECT matnr werks pstat lvorm ekgrp
      INTO TABLE t_marc
      FROM marc
      WHERE matnr = '000000000001013351'.
    ENDFORM.                    " get_data
    *&      Form  create_excel                            *
    FORM create_excel.
      w_line = 1.
      CREATE OBJECT e_appl 'EXCEL.APPLICATION'.
      SET PROPERTY OF e_appl 'VISIBLE' = 1.
      CALL METHOD OF e_appl 'WORKBOOKS' = e_work.
      CALL METHOD OF e_work 'Add' = e_work.
      GET PROPERTY OF e_appl 'ActiveSheet' = e_activesheet.
      SET PROPERTY OF e_activesheet 'Name' = 'Material Plants'.
      LOOP AT t_marc ASSIGNING <fs_marc>.
        w_tabix = sy-tabix.
        w_line = w_line + 1.
        LOOP AT t_titles ASSIGNING <fs_titles>.
          w_titles = sy-tabix.
          CALL METHOD OF e_appl 'Cells' = e_cell
            EXPORTING
              #1 = 1
              #2 = w_titles.
          SET PROPERTY OF e_cell 'Value' =  <fs_titles>-title.
          GET PROPERTY OF e_cell 'Interior' = e_color.
          SET PROPERTY OF e_color 'ColorIndex' = 35.
          GET PROPERTY OF e_cell 'Font' = e_bold.
          SET PROPERTY OF e_bold 'Bold' = 1.
          CALL METHOD OF e_appl 'Cells' = e_cell
            EXPORTING
              #1 = w_line
              #2 = w_titles.
          CONCATENATE '<fs_marc>-' <fs_titles>-field
          INTO w_field.
          ASSIGN (w_field) TO <fs>.
          SET PROPERTY OF e_cell 'Value' = <fs>.
          GET PROPERTY OF e_cell 'Interior' = e_color.
          SET PROPERTY OF e_cell 'ColumnWidth' = 20.
          SET PROPERTY OF e_color 'ColorIndex' = 0.
          GET PROPERTY OF e_cell 'Font' = e_bold.
          SET PROPERTY OF e_bold 'Bold' = 0.
        ENDLOOP.
      ENDLOOP.
      CALL METHOD OF e_work 'SAVEAS'
        EXPORTING
          #1 = p_file.
      CALL METHOD OF e_work 'close'.
      CALL METHOD OF e_appl 'QUIT'.
      FREE OBJECT e_appl.
    ENDFORM.                    " create_excel

  • Need Script/Excel Macro for Deletion of Bulk users from Enterprise BO 3.1

    Hello All,
    I am planning to delete the Bulk Users (2500) from environment, I need a script or Excel Macro to perform it in my environment.
    Please someone provide the JSP script or Excel Macro to perform the activity. Thank you so much in advance.
    Thanks,
    Srikanth Y

    You should have the list of inactive users.Right?
    It will always read the usernames from the txt file which will be entered by you and delete those user accounts.
    You would need to save the attached sample as .jsp and can place it inside InfoViewApp application.
    Also it would be best to test the code in a DEV/TEST environment before you actually try to touch your prod systems.
    Try for few user accounts first and check the status.
    Also it would be apt to take a back of your CMS DB before you run any script so that you can rollback to a save point.
    Thanks,
    Prithvi

  • Printing to Adobe PDF repeatedly from Excel macro causes Adobe PDF to ignore preferences

    I have an Excel macro that uses Acrobat's virtual "Adobe PDF" printer to save each sheet of an Excel spreadsheet to a separate PDF file. To do this, I have set up the PDF printer to save automatically to the folder C:\PDF without prompting and not to open each PDF file after it is created. These preferences are respected when the macro prints the first sheet, but when it prints the second  and third sheets, the PDF printer starts displaying its "Save As" dialog again and opening each PDF file after it is created. When I go back to the printer preferences after the macro finishes, the preferences that I set are still there, and if I run the macro again I get exactly the same behavior. This behavior is problematic because the macro expects each PDF file to be saved to a predictable location so that it can rename them. Side note: this print-then-rename technique works fine when I use the open source PDFCreator program instead of Acrobat. (Hello, Adobe?)

    Use the settings in the Acrobat Distiller API Reference. You can find this document in the Acrobat SDK.

  • ALV Excel View - how to save the excel sheet

    Hi,
    i've a colored ALV, when the user is choosing the excel button from the ALV menu bar the alv is shown as an excel. But: the sace button in the upper left corner has now a mouse-over text named "update" and the file tab is missing.- So how can he save this now as an excel sheet? We are using excel 2010. Saving as spreadsheet is not an option cause all colors are lost.

    We have had this same issue since we upgraded to EXCEL-10.
    Here is what I came up with.
    First, open a new EXCEL spreadsheet from the PC (not from within the SAP application)
    Select the “Customize Quick Access Toolbar”, then select “More Commands”
    Under the “Popular Commands” select “Save As” and press the “Add” button.
    Then the “OK” button
    You should now see the “Save As” button in the upper left hand corner of the screen (with the Save, Undo and Redo buttons.)
    When you display the next SAP report as EXCEL, you should have access to this button.

  • Are excel-macros running on IPad?

    Instead of carrying my laptop, i would like to use an iPad.
    I am using excel sheets with integrated macros.
    Are these macros running on the iPad?
    If yes, which app i have to use?
    Thank you for your help
    Chris

    I've not seen any of the apps that can import Excel documents that can handle Excel macros, though it's possible I might have missed something. I rather doubt it, though, since macros depend on Microsoft's proprietary Visual Basic.
    Regards.

  • I resently cracked my screen on my iPhone 4 and had to get a new one... Whe backed the old phone up it didn't save my old apps and now I no longer have that phone...  How can I recover a list of all my apps?

    I resently cracked the screen on my iPhone 4 and had to get a new one... When i backed the old phone up it didn't save my old apps and now I no longer have that phone...  How can I recover a list of all my apps?

    Backup does not include apps,music,vids,etc
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    You can loo up your purchases in your purchase history ( in your account in itunes)  and unlike music, you can redownload apps.
    How to redownload purchased apps from the App Store

  • Running Excel macros from ABAP

    Hello everyone,
    I am trying to execute an Excel macro from an ABAP program.  We are currently on a 46C system.  While doing some research on help.sap.com I came across the method execute_macro in class i_oi_document_proxy.  I’ve never used methods in ABAP before and I’m not really sure what I’m doing.  Has anyone got this to work?  When I try to run the program it dumps with error OBJECTS_OBJREF_NOT_ASSIGNED.
    Thanks,
    Becky
    Here is the program:
    REPORT ztest_program.
    INCLUDE ole2incl.
    DATA gs_excel TYPE ole2_object .
    DATA gs_wbooks TYPE ole2_object .
    DATA gs_wbook TYPE ole2_object .
    DATA gs_application TYPE ole2_object .
    DATA: h_sheet TYPE ole2_object.
    DATA: document TYPE REF TO i_oi_document_proxy.
    *Name of the macro in Excel
    DATA: macro_string(50) TYPE c
                     VALUE 'FB03process.FromTheBeginning',
          no_flush TYPE c,
          param_count TYPE i VALUE 0,
          script_name TYPE c VALUE 'X',
          error TYPE REF TO i_oi_error
                OCCURS 0 WITH HEADER LINE,
          retcode TYPE soi_ret_string,
          error_string(50) TYPE c,
          retvalue(30) TYPE c.
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
       EXPORTING
             text       = text-007
         EXCEPTIONS
              OTHERS     = 1.
    CREATE OBJECT gs_excel 'EXCEL.APPLICATION' .
    SET PROPERTY OF gs_excel 'Visible' = 1 .
    GET PROPERTY OF gs_excel 'Workbooks' = gs_wbooks .
    GET PROPERTY OF gs_wbooks 'Application' = gs_application .
    *--Opening the existing document
    CALL METHOD OF gs_wbooks 'Open' = gs_wbook
         EXPORTING #1 = 'D:\temp\FB03process.xls' .
    tell user what is going on
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
       EXPORTING
              PERCENTAGE = 0
             text       = text-009
         EXCEPTIONS
              OTHERS     = 1.
    GET PROPERTY OF gs_excel 'ACTIVESHEET' = h_sheet.
    CALL METHOD document->execute_macro
         EXPORTING macro_string  = macro_string
                   param_count   = param_count
                   script_name   = script_name
                   no_flush      = no_flush
         IMPORTING error         = error
                   retcode       = retcode
         CHANGING  error_string  = error_string
                   retvalue      = retvalue.
    disconnect from Excel
    FREE OBJECT gs_excel.
    PERFORM err_hdl.
    FORM err_hdl.
      IF sy-subrc <> 0.
        WRITE: / 'Fehler bei OLE-Automation:'(010), sy-subrc.
        STOP.
      ENDIF.
    ENDFORM.                    " ERR_HDL

    Hi,
    Please correct me if I am wrong but it seems that you have not fetched a handle to the document object before issuing the statement CALL METHOD document->execute_macro. Hence the error OBJECTS_OBJREF_NOT_ASSIGNED is being dislayed. If you want to use SAP Desktop Office Integration using ABAP Objects, take a look at this article at http://www.intelligenterp.com/feature/archive/ or http://www.sapinfo.net/public/en/index.php4/article/comvArticle-193333c63b4bd807d2/en/articleStatistic
    Hope this helps.
    Regards
    Message was edited by: Shehryar Khan

  • I have been dragging my files to a external drive to have a back-up for them and I lost some of my folders. They just went completely missing. I didn't delete them, and it was all stuff that I have worked on in the past month. How do I get them back?

    I have been dragging my files to a external drive to have a back-up for them and I lost some of my folders. They just went completely missing. I didn't delete them, and it was all stuff that I have worked on in the past month. How do I get them back?

    You really should be doing backups with an actual backup application, especially one that will work automatically, and, if your external HD is large enough, back up your entire system.  These can automatically back up only what's changed since the  previous backup, and some will keep "archive" copies of things you've changed or deleted, also.
    Too many things can go wrong, such as your internal HD failing, and you'll have a major project to reinstall everything.
    You already have Time Machine, built-in to OSX.  You might want to review the Time Machine Tutorial, and perhaps browse Time Machine - Frequently Asked Questions.
    #27 in the second link mentions some alternatives, too.

  • How to call excel macros programmatically in C#?

    Hi,
    I have a requirement where i need to call excel (2003) macros in C# program. Can anyone help me with a code snippet to do the same?
    The excel macro function takes two input parameters? how can the parameters be passed?
    Any code snippet to do the same in C# would be helpful.
    Thanks.

    Hey there, Sid.  I am tryin gto run your code, but I couldn't even gte it to fire.  Here's what I ahve now:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using Excel = Microsoft.Office.Interop.Excel;
    namespace WindowsFormsApplication2
        public partial class Form1 : Form
            private void button1_Click(object sender, EventArgs e)
                //~~> Define your Excel Objects
                Excel.Application xlApp = new Excel.Application();
                Excel.Workbook xlWorkBook;
                //~~> Start Excel and open the workbook.
                xlWorkBook = xlApp.Workbooks.Open("C:\\Users\\Ryan\\Desktop\\Coding\\Microsoft Excel\\Work Samples\\Work Samples\\Historical Stock Prices.xlsb");
                //~~> Run the macros by supplying the necessary arguments
                xlApp.Run("ShowMsg", "Hello from C# Client", "Demo to run Excel macros from C#");
                //~~> Clean-up: Close the workbook
                xlWorkBook.Close(false);
                //~~> Quit the Excel Application
                xlApp.Quit();
                //~~> Clean Up
                releaseObject(xlApp);
                releaseObject(xlWorkBook);
            //~~> Release the objects
            private void releaseObject(object obj)
                try
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
                    obj = null;
                catch (Exception ex)
                    obj = null;
                finally
                    GC.Collect();
    When I hit the play button nothing happens.  When I hot F5 nothing happens.  Do you ahve any idea what I'm doing wrong.  I'd appreciate any advice with this!! 
    Thanks!!
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Excel 2010 - Can't Save File Becasue It's Opened By Another User

    Hi All,
    I'm using excel 2010, I can create an excel doc, update it, save it on the network, then close it. Then go out of the folder its saved in, go back in and open the file but it flags up as read only as its 'opened by another user'.
    I can confirm 100% that no one else has this file open.
    This affects multiple users, I have a feeling this may be caused by an update but don't have anything solid to back that theory up.
    All users who have this problem are running windows 7 Pro machines, all domain joined.
    Can anyone offer any suggestions?

    Hi,
    Please try the following methods:
    Methods1:
    Turn off the Details Pane shown at the bottom of Windows Explorer.  Go to Organize -> Layout -> Details Pane.  That fixes the first problem.
    Turn off “Show pop-up description for folder and desktop items”  Click on Tools -> Folder Options.  In the box that opens up, click on the View tab.  Scroll down the list to “Show pop-up description for folder and desktop items” and clear
    the checkbox and then click OK.  This fixes the second problem.
    Turn off Preview Pane.  Go to Organize -> Layout -> Preview Pane. This fixes number 3. 
    Methods2:
    Add the following registry keys:
    Key: HKEY_CLASSES_ROOT\CLSID\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}
    Name: EnableShareDenyNone
    Type: REG_DWORD
    Value: 1
    Key: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}   
    Name: EnableShareDenyNone
    Type: REG_DWORD
    Value: 1
    For more detail information, please refer to the following links:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx
    http://support.microsoft.com/kb/942146/en-us
    Regards,
    George Zhao
    TechNet Community Support

  • Hi, I would like to know how can I recover a document from pages that I didn't save anytime and instead of clicking the button save I clicked the delete button at the end. Is there any way to recover it?

    Hi, I would like to know how can I recover a document from pages that I didn't save anytime and instead of saving the doc I clicked the delete button. Is there any way to recover it?

    Regardless of application, the first step that I take is to save and name the current document — even if it has no content yet. With Pages, this good habit enables autosave. As you add content, your document revision history is restorable via the File Revert To menu. The delete key has the same document foreboding as only teaching a pet raven to speak "Nevermore."

Maybe you are looking for