Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: May 22, 2025
Topics: 0 / Replies: 838
Reply
RE: VBA to Have Template file remain Open after Copy is Saved & Closed

In that case you can make whatever changes are required, then use ThisWorkbook.SaveCopyAs ThisWorkbook.Path & "" & Range("B15").Value ...

2 years ago
Forum
Reply
RE: Running total in power query

Also cross-posted here:

2 years ago
Forum
Reply
RE: Removing columns in Power BI source file

It will depend on how you removed the other columns. If you removed them explicitly then you'll just need to edit the query to remove the step that go...

2 years ago
Forum
Reply
RE: Using Table.ReplaceValue with Text.Combine to do an in place concatenation fails if target column is null

You could use Replace.ReplaceValue instead of Replace.ReplaceText. It will have the side effect of converting the column type to Any rather than Text ...

2 years ago
Forum
Reply
RE: VBA to Have Template file remain Open after Copy is Saved & Closed

What format is your template? Is it an actual template or a normal workbook that you use as a template and, if the latter, is it also saved in xlsb fo...

2 years ago
Forum
Reply
RE: VBA Update the body from a template email

Your code works fine here in Office 2016. Do you get the error with any template or just a specific one? Also, you should learn the rules on c...

2 years ago
Forum
Reply
RE: removing pesky hidden xml sheets in a workbook

They are defined names. You can delete them with some code like this: Sub ClearNames() Dim nm as name On Error Resume Next for each n...

2 years ago
Reply
RE: Pivot Tables - Grand Totals AND Summary Percentages in the same table?

If you're using the data model, you could also create a set that only shows the second calculation at the grand total level, not the individual rows.

2 years ago
Reply
RE: Send Email Code Error

What is the actual error message? I did't get any errors with that one.

2 years ago
Forum
Reply
RE: Send Email Code Error

In the sample you posted it does work for weekly but not for daily because the daily pivot table is blank. Its data source is set to 'Station Data'!$Q...

2 years ago
Forum
Reply
RE: Send Email Code Error

Your pivot table's data source is set to a blank range, so you can't refresh it.

2 years ago
Forum
Reply
RE: Send Email Code Error

That's pretty hard to answer without seeing any of your code. 🙂

2 years ago
Forum
Reply
RE: Unpivot data in Power Query

Specify an action for the values column (eg Sum). The formula should look like: = Table.Pivot(#"Changed Type", List.Distinct(#"Changed Type"[H...

2 years ago
Forum
Reply
RE: Changing shape colours

There is no code there to change font? Application.Caller will only work if the code is called by clicking a button.

2 years ago
Forum
Reply
RE: Changing shape colours

You can't write Or criteria like that - you have to repeat the test of the shape name each time. If shp.Name = "btn_Hetton" Or shp.Name = "btn_GMH"...

2 years ago
Forum
Page 16 / 56