Excel Macro To Create New Worksheet
Closed
vikkitoria
Posts
3
Registration date
Wednesday April 24, 2013
Status
Member
Last seen
May 1, 2013
-
Apr 24, 2013 at 05:51 PM
Zohaib R Posts 2368 Registration date Sunday September 23, 2012 Status Member Last seen December 13, 2018 - May 6, 2013 at 10:20 AM
Zohaib R Posts 2368 Registration date Sunday September 23, 2012 Status Member Last seen December 13, 2018 - May 6, 2013 at 10:20 AM
Related:
- Excel Macro To Create New Worksheet
- Transfer data from one excel worksheet to another automatically - Guide
- Create skype account with gmail - Guide
- Create new instagram account without phone number - Guide
- Excel macro to create new sheet based on value in cells - Guide
- Spell number in excel without macro - Guide
7 responses
vikkitoria
Posts
3
Registration date
Wednesday April 24, 2013
Status
Member
Last seen
May 1, 2013
1
Apr 30, 2013 at 06:05 AM
Apr 30, 2013 at 06:05 AM
Hi Zohaib
Thank you for the template you created
I am probably doing something wrong, however the button isnt creating a new worksheet when I click it after I have entered Y/N in the column K. I am a bit of a Excel novice, so sorry if I am being blind!
Thanks
Vikkitoria
Thank you for the template you created
I am probably doing something wrong, however the button isnt creating a new worksheet when I click it after I have entered Y/N in the column K. I am a bit of a Excel novice, so sorry if I am being blind!
Thanks
Vikkitoria
Zohaib R
Posts
2368
Registration date
Sunday September 23, 2012
Status
Member
Last seen
December 13, 2018
69
Apr 26, 2013 at 02:46 AM
Apr 26, 2013 at 02:46 AM
Hi vikkitoria,
Please download the sample sheet from the below mentioned link:
http://speedy.sh/Qy9TZ/CreateWorksheet.xlsm
I have created a sample sheet using Microsoft Excel 2010 and added some data to it. I have added a button to the sheet at the top right. When you click the button it will create a new Worksheet titled "outstanding payments" and copy the overdue data to this sheet.
You can edit the macro to suit your needs.
Hope this helps.
Please download the sample sheet from the below mentioned link:
http://speedy.sh/Qy9TZ/CreateWorksheet.xlsm
I have created a sample sheet using Microsoft Excel 2010 and added some data to it. I have added a button to the sheet at the top right. When you click the button it will create a new Worksheet titled "outstanding payments" and copy the overdue data to this sheet.
You can edit the macro to suit your needs.
Hope this helps.
Zohaib R
Posts
2368
Registration date
Sunday September 23, 2012
Status
Member
Last seen
December 13, 2018
69
May 1, 2013 at 01:00 AM
May 1, 2013 at 01:00 AM
Hi vikkitoria,
No problem, I can help you further. Please check the below mentioned link and download the file again:
http://speedy.sh/nkvSB/CreateWorksheet.xlsm
If the Macro does not work, please disable "Macro Security" in the excel sheet. Please check the below mentioned link to find steps on how to disable "Macro Security":
https://support.microsoft.com/en-us/office/enable-or-disable-macros-in-office-files-12b036fd-d140-4e74-b45e-16fed1a7e5c6?ocmsassetid=ha010031071&correlationid=2d335057-ff3a-458b-bbf8-7c85749cdb96&ui=en-us&rs=en-us&ad=us#BM12
Please reply if you have any further questions.
No problem, I can help you further. Please check the below mentioned link and download the file again:
http://speedy.sh/nkvSB/CreateWorksheet.xlsm
If the Macro does not work, please disable "Macro Security" in the excel sheet. Please check the below mentioned link to find steps on how to disable "Macro Security":
https://support.microsoft.com/en-us/office/enable-or-disable-macros-in-office-files-12b036fd-d140-4e74-b45e-16fed1a7e5c6?ocmsassetid=ha010031071&correlationid=2d335057-ff3a-458b-bbf8-7c85749cdb96&ui=en-us&rs=en-us&ad=us#BM12
Please reply if you have any further questions.
vikkitoria
Posts
3
Registration date
Wednesday April 24, 2013
Status
Member
Last seen
May 1, 2013
1
May 1, 2013 at 04:37 AM
May 1, 2013 at 04:37 AM
Hi Zohaib
The macro now works, but it is copying all the data from the master sheet. IS there a way to only copy data where there is a 'N' entered into cells in comlumn K?
THanks again for your help
Vikkitoria
The macro now works, but it is copying all the data from the master sheet. IS there a way to only copy data where there is a 'N' entered into cells in comlumn K?
THanks again for your help
Vikkitoria
Didn't find the answer you are looking for?
Ask a question
Zohaib R
Posts
2368
Registration date
Sunday September 23, 2012
Status
Member
Last seen
December 13, 2018
69
May 2, 2013 at 03:56 AM
May 2, 2013 at 03:56 AM
Hi vikkitoria,
Please edit the macro and replace the following line of code:
ActiveSheet.Range("$A$1:$M$11").AutoFilter Field:=8, Criteria1:="<>"
With:
ActiveSheet.Range("$A$1:$M$12").AutoFilter Field:=11, Criteria1:="N"
To find steps on how to edit a Macro, please go through the following article:
https://support.microsoft.com/en-us/office/edit-a-macro-ed9e8c3d-58fd-47a1-83eb-bdee680376bb?ocmsassetid=hp010014112&correlationid=1a921320-2b1b-4da0-b268-f7d69fcfdec7&ui=en-us&rs=en-us&ad=us
Please revert for clarification.
Please edit the macro and replace the following line of code:
ActiveSheet.Range("$A$1:$M$11").AutoFilter Field:=8, Criteria1:="<>"
With:
ActiveSheet.Range("$A$1:$M$12").AutoFilter Field:=11, Criteria1:="N"
To find steps on how to edit a Macro, please go through the following article:
https://support.microsoft.com/en-us/office/edit-a-macro-ed9e8c3d-58fd-47a1-83eb-bdee680376bb?ocmsassetid=hp010014112&correlationid=1a921320-2b1b-4da0-b268-f7d69fcfdec7&ui=en-us&rs=en-us&ad=us
Please revert for clarification.
I haven't yet had a chance to try, but will this work on Excel on a Apple Mac?
Thank you for your continued help Zohaib
Vikkitoria
Thank you for your continued help Zohaib
Vikkitoria
Zohaib R
Posts
2368
Registration date
Sunday September 23, 2012
Status
Member
Last seen
December 13, 2018
69
May 6, 2013 at 10:20 AM
May 6, 2013 at 10:20 AM
Hi vikkitoria,
Microsoft Excel for Mac OS is a bit different from Excel for Microsoft Windows. Please refer to the below mentioned link for steps on creating Macros in Excel:
https://support.microsoft.com/en-us/help/288117
You can then use the same Macro Code from the earlier uploaded file.
Please revert for clarification.
Microsoft Excel for Mac OS is a bit different from Excel for Microsoft Windows. Please refer to the below mentioned link for steps on creating Macros in Excel:
https://support.microsoft.com/en-us/help/288117
You can then use the same Macro Code from the earlier uploaded file.
Please revert for clarification.