ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   adding a control button with a filter (https://www.excelbanter.com/excel-worksheet-functions/190577-adding-control-button-filter.html)

Belinda7237

adding a control button with a filter
 
I wanted to add a control button that will filter in place a set of criteria.

If Column A title is STATUS = and the results in the field = Completed,
passed, Archive, Done
then I want the rows of data to be placed in a new workbook, ie book 1.

So when someone selects the command button they will get all of the statuses
above copied into a new workbook.

i created a macro and assigned it to the comand button - usied advanced
filter and used the criteria results above, once the filter ran, i then
copied the sheet and pasted it in a new workbook.

The problem i have is that the button doesnt work when i turn the workbook
on to "shared" due to having the advanced filter used in the macro.

Is there another way i can write the macro to not use advanced filter?

ryguy7272

adding a control button with a filter
 
Give this a try:
http://www.rondebruin.nl/copy5.htm


Regards,
Ryan--
--
RyGuy


"Belinda7237" wrote:

I wanted to add a control button that will filter in place a set of criteria.

If Column A title is STATUS = and the results in the field = Completed,
passed, Archive, Done
then I want the rows of data to be placed in a new workbook, ie book 1.

So when someone selects the command button they will get all of the statuses
above copied into a new workbook.

i created a macro and assigned it to the comand button - usied advanced
filter and used the criteria results above, once the filter ran, i then
copied the sheet and pasted it in a new workbook.

The problem i have is that the button doesnt work when i turn the workbook
on to "shared" due to having the advanced filter used in the macro.

Is there another way i can write the macro to not use advanced filter?


Belinda7237

adding a control button with a filter
 
thanks, i did learn some from the site, however, it didnt answer my issue for
advanced filter.

"ryguy7272" wrote:

Give this a try:
http://www.rondebruin.nl/copy5.htm


Regards,
Ryan--
--
RyGuy


"Belinda7237" wrote:

I wanted to add a control button that will filter in place a set of criteria.

If Column A title is STATUS = and the results in the field = Completed,
passed, Archive, Done
then I want the rows of data to be placed in a new workbook, ie book 1.

So when someone selects the command button they will get all of the statuses
above copied into a new workbook.

i created a macro and assigned it to the comand button - usied advanced
filter and used the criteria results above, once the filter ran, i then
copied the sheet and pasted it in a new workbook.

The problem i have is that the button doesnt work when i turn the workbook
on to "shared" due to having the advanced filter used in the macro.

Is there another way i can write the macro to not use advanced filter?



All times are GMT +1. The time now is 11:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com