Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: May 22, 2025
Topics: 0 / Replies: 838
Reply
RE: Refresh windows 10 file explorer automatically

Nothing attached, but for 64 bit you need to change the API declaration. This should work on 32 or 64 bit: #If VBA7 then Private Declare Pt...

3 years ago
Forum
Reply
RE: Refresh windows 10 file explorer automatically

You didn't say what the error is? Are you using 64bit Office?

3 years ago
Forum
Reply
RE: Refresh windows 10 file explorer automatically

This may be a bit overkill as it refreshes the desktop too, but it's the simplest method I could think of offhand (though my windows refresh automatic...

3 years ago
Forum
Reply
RE: Add data to a cell in a range based on column value

You could do something like this (I assume you will expand your table for the other two variables, but I haven't added the lines for those): S...

3 years ago
Forum
Reply
RE: Why would SOME dates show mm/dd/yy when most (as required) show dd/mm/yy?

Yes, using a string variable is the cause of the problem. When you write back to another cell, VBA will interpret the date using its default US locale...

3 years ago
Forum
Reply
RE: Is it possible to just exclude a value from a filter without specifying all the other values that are included?

Yes, you can simply use the <> operator: ActiveSheet.ListObjects("InputTable4").Range.AutoFilter Field:=7, Criteria1:="<>Closed/Tr...

3 years ago
Forum
Reply
RE: Does anyone know what causes or restricts parameter prompts in VBA?

The binding context. Anything late bound (eg any property that returns a generic Object type) will not provide intellisense since the compiler doesn't...

3 years ago
Forum
Reply
RE: Runtime Error 1004 - Unable to get Averageif property of Worksheet Function class

Your workbook code is password protected, which doesn't really allow people to help you easily. Anyway, the most likely cause is that nothing matches ...

3 years ago
Forum
Reply
RE: Split macros from data

Yes, it should be. (can't really say more on the information given)

3 years ago
Forum
Reply
RE: How to combine two columns (List) into one single column (list1 + List2)

You could also use List.Zip and then Table.FromRows: let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], Custom1 = Table.Transform...

3 years ago
Forum
Reply
RE: Select and align all slicers on sheet

You could use something like this: Sub Main() Dim ws As Worksheet Set ws = ActiveSheet Call AlignSlicersVertical(ws) End Sub Sub AlignSl...

3 years ago
Forum
Reply
RE: Creates usable slicers and add rows with data validation on a protected sheet

FWIW, I'd still recommend handling a blank list, just do it differently: =OFFSET(Fruits!$N$10,,,MAX(1,COUNTA(Fruits!$N$10:Fruits!$N$999)),1)

3 years ago
Forum
Reply
RE: Expression.Error; Cannot convert the value null to type Logical.0:

There are quite a few places it could occur. For example, you have a lot of comparisons like if [Total] > 1 then which would cause that error if th...

3 years ago
Forum
Reply
RE: Userform subscript out of range

From your description, the table is not on the active sheet, which would cause the error. You could use: Private Sub Submit_Click() Dim LogTa...

3 years ago
Forum
Reply
RE: Retrieve filter value of a specific field

Q1: No. Q2: Why do you have two forms that do essentially the same thing? You can pass a form as an Object to a routine - just pass Me from the for...

3 years ago
Forum
Page 25 / 56