- #Excel for mac vba to copy a sheet without command button how to#
- #Excel for mac vba to copy a sheet without command button Pc#
- #Excel for mac vba to copy a sheet without command button windows#
How to run a macro from our sample workbookĪlternatively, you can download our sample workbook to Duplicate Excel Sheets and run the code from there.
#Excel for mac vba to copy a sheet without command button windows#
Is there any way to make this work her on Mac? Perhaps the author could have wrote the code in a way to make it work on more than just the Windows platform? I would think it would work on any Excel but I guess not, and like I said I dont have much experience with this stuff.N = InputBox("How many copies of the active sheet do you want to make?")ĪctiveSheet.Copy After:=ActiveWorkbook.Sheets(Worksheets.Count)
#Excel for mac vba to copy a sheet without command button Pc#
I tried to do the same operation on my PC and it works. Its a big excel sheet with many input fields, and the error message pops up when a "Prepare Summary" is pressed at the bottom of the sheet i assume this is a custom macro of some kind. This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Here is the error message those is popping up:Ĭompile error in hidden module: 'modProtectWB'. I dont have experience with Macros all I can really do in Excel is basic formulas and stuff so please bear with me. I am trying to help my mother troubleshoot an issue she is experiencing with an Excel sheet. Recent ClippyPoint Milestones !Ĭongratulations and thank you to these contributors DateĪ community since MaDownload the official /r/Excel Add-in to convert Excel cells into a table that can be posted using reddit's markdown. Include a screenshot, use the tableit website, or use the ExcelToReddit converter (courtesy of u/tirlibibi17) to present your data. NOTE: For VBA, you can select code in your VBA window, press Tab, then copy and paste that into your post or comment. To keep Reddit from mangling your formulas and other code, display it using inline-code or put it in a code-block
This will award the user a ClippyPoint and change the post's flair to solved. OPs can (and should) reply to any solutions with: Solution Verified