Macro to Table

Rkeev

Board Regular
Joined
Mar 11, 2014
Messages
69
Greetings All,

I have pulled out enough hair to create my own wookie trying to get a cross tab query to work from a table filtered by a macro.

Soooooooo, how do you create a table from a macro that filters an existing table? Or is there another way?

Let be clear. I have a table (TBL 1) that lists info for the entire month. I have a crosstab query for this table; works fine but I need to further filter it.
Because I have so many issues filtering a Crosstab, I created a macro that filters this table (Tbl 1) based on user inputs into a form (frm1).

What I would like to do is create a Table (Tbl2) from this Macro then create a crosstab in Tbl2. Clear as mud?

any help would be appreciated.

Rick
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Look at a Make Table Query. Take your existing crosstab query and use it as the record set and select Make Table query.
 
Upvote 0

Forum statistics

Threads
1,221,831
Messages
6,162,250
Members
451,757
Latest member
iours

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top