VBA Power Query connection

Kabous07

New Member
Joined
May 8, 2013
Messages
34
Good day

Almost weekend ;)

My experience with VBA is not that good but will try my best. I have done some basics in the past. Im looking to use tables to keep records of projects information and summarize it all on one table. The problem is however, we would have a new table with each new project and i would like to avoid some steps by just using a button linked to a macro. The macro will basically append all the tables to a summary, including the new ones that get daily added.

I have on one sheet a "Summary"("Summary sheet") table and I have another sheet("Template sheet") a "Template" table. We copy the template sheet and rename it as a project number(many different numbers, normally called "PT####"). We then fill in the new project details. Afterwards we would like to add this new project to the "summary table" in the summary sheet. I was hoping to use something like Power Query and VBA or would take any suggestions please. Reason I am looking at PQ is because the append function is very nice in terms of updating project information, when going back to a certain project.

I hope my explanation makes sense.

Kind Regards
Kabous
 
Cross posted Can PQ have dynamic table names

While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
save file
refresh all
save again
then use

Thank you Sandy. I downloaded it to desktop, opened, saved, refreshed all, saved again, but if i copy the template sheet rename it and insert details in the table, then the summary does not update. Did i maybe miss a step?
 
Upvote 0
Cross posted Can PQ have dynamic table names

While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

Apologies, i should have done it for this Forum as well. I am new to this and must say the forums are quite aggressive. I understand that double work could happen and should not have done this.
 
Upvote 0
ok , here is

First time
  1. save file
  2. refresh all
  3. in PQ Editor refresh all
  4. save
All the time
  1. copy template
  2. fill with data
  3. save
  4. refresh summary table
it's a working file so that's all what I can do for you
have a nice day
 
Last edited:
Upvote 0
Morning all, hope the weekend was good.

I have found a solution(she posted this on perfect timing):
 
Upvote 0

Forum statistics

Threads
1,214,936
Messages
6,122,340
Members
449,079
Latest member
rocketslinger

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