Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: May 22, 2025
Topics: 0 / Replies: 838
Reply
RE: Add sparklines automatically to a pivot table column

I don’t really understand. One code adds and formats spark lines while the other only adjusts the location and data range of existing spark lines. It ...

3 years ago
Reply
RE: How to get the € symbol with VBA

I didn’t say that Chr and ChrW are the same. I said that both expect a number to be passed to them, not a string.

3 years ago
Forum
Reply
RE: Add sparklines automatically to a pivot table column

That routine replaces the previous one of the same name. The worksheet code that calls it remains the same. as long as there are spark lines o...

3 years ago
Reply
RE: Add sparklines automatically to a pivot table column

I do like the idea of a sparkling sheet! 😉 If you already have the sparklines in place, then the code can be a lot simpler: Sub UpdatePivo...

3 years ago
Reply
RE: How to just get the Month and Date from PowerQuery

IMO you would be better off converting the dates to the 1st of the month so that you can use them as dates in calculations. You can always format the ...

3 years ago
Forum
Reply
RE: How to get the € symbol with VBA

Not a big deal but just so you know: Chr (like ChrW) expects a number, not a string, so by passing strings you're actually making it do unnecessary wo...

3 years ago
Forum
Reply
RE: DAX formula in PowerPivot: If rows regardless of row number have matching fields.

You should be able to just wrap another IF: =IF([Amount]<>0,IF(COUNTROWS(FILTER(Table1,[Invoice]=EARLIER([Invoice])&&[Branch]=EA...

3 years ago
Forum
Reply
RE: How to get the € symbol with VBA

Private Sub Button26_Click(sender As Object, e As EventArgs) Handles Button26.Click That is VB.Net code by the way, not VBA.

3 years ago
Forum
Reply
RE: DAX formula in PowerPivot: If rows regardless of row number have matching fields.

If I understand correctly, you could use this: =IF(COUNTROWS(FILTER(Table1,[Invoice]=EARLIER([Invoice])&&[Branch]=EARLIER([Branch])&am...

3 years ago
Forum
Reply
RE: Add sparklines automatically to a pivot table column

You can also do it with code. Add this to a normal module: Sub UpdatePivotSparklines(pt As PivotTable) With pt Dim sparkRange As Range ...

3 years ago
Reply
RE: Excel Get.workbook Function

FYI, cross-posted here:

3 years ago
Forum
Reply
RE: How to split address text string into separate parts

Using TEXTBEFORE with the same arguments should return the address up to the STE part.

3 years ago
Reply
RE: How to Create a Routine that can remove the name of the file extension (.Txt) Whatever the created name of the file itself is

To strip off everything after the last period, you can use Instrrev: Left$(UserForm1.TextBox1.Text & "", Instrrev(UserForm1.TextBox1.Text,...

3 years ago
Forum
Reply
RE: Converting time formats

You could also use: =TEXT(I2*100,"00:00")+0 with the same [h]:mm formatting

3 years ago
Page 21 / 56