Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: Jun 11, 2026
Topics: 0 / Replies: 841
Reply
RE: Macro to open file with password protecion

No it can't. Although Excel's security is not great, the password to open the workbook is the most secure one. You'd need a decryption program.

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

but Excel does know what the Activesheet is Actually, no it doesn't know. When you are writing the code, the compiler doesn't know what kind of s...

4 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?

Your existing code used Field:=7 so I used the same. If your table layout might change, then you can get the index from the listcolumn like so: ...

4 years ago
Forum
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...

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

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

4 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...

4 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...

4 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...

4 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...

4 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...

4 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 ...

4 years ago
Forum
Reply
RE: Split macros from data

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

4 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...

4 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...

4 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)

4 years ago
Forum
Page 25 / 57
0