Can PhpSpreadsheet edit an xlsm file? #4578
              
                
                  
                  
                    Answered
                  
                  by
                    oleibman
                  
              
          
                  
                    
                      vb-connect
                    
                  
                
                  asked this question in
                Q&A
              
            -
| Hello everyone ! I need to edit an XLSM file without touching the macros. In the documentation, "Creating a Spreadsheet" doesn't include the XLSM files: I don't want to touch the macros, just add some information to the table. Edit: Seems to work but is it OK to do with "Xlsx" creator ? Tks ! | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            oleibman
          
      
      
        Aug 10, 2025 
      
    
    Replies: 1 comment
-
| Yes, this will work using the Xlsx reader and writer. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        oleibman
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Yes, this will work using the Xlsx reader and writer.