Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: May 22, 2025
Topics: 0 / Replies: 838
Reply
RE: Filter for Multiple Values in a Column

You could also put those values into a column of cells and use that as criteria in an advanced filter.

4 years ago
Reply
RE: Adding column and moving it to the beginning of table

It's expecting a list of items to remove so use {"Col3"} instead of just "Col3": let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content...

4 years ago
Forum
Reply
RE: Error Message received with Text.Replace

The prior step works fine for me (after creating an appropriate source file for the state list). For a direct in-place replacement, you could ...

4 years ago
Forum
Reply
RE: Error Message received with Text.Replace

Shouldn't the last step read something like: = Table.AddColumn(#"Added Custom", "Address2", each Text.Replace([Address], [States], " ")) ...

4 years ago
Forum
Reply
RE: Adding column and moving it to the beginning of table

There are probably simpler solutions, but you could get a list of the column names, remove the last one (the new column you added) and then combine th...

4 years ago
Forum
Reply
RE: Power Query_ Formatting Zip Codes

Make sure the Zip field loads as text, then you can use something like: = Table.AddColumn(#"Changed Type", "CleanZip", each if Text.Length([Address...

4 years ago
Forum
Reply
RE: FolderExists function of the FileSystemObject

I'd suspect the problem lies elsewhere (in the code you didn't post) since I can't see how you'd get a file count for a non-existent folder.

4 years ago
Forum
Reply
RE: Run-time error '1004': Unable to set the Visible Property of the Worksheet class - PLEASE HELP

They are visible, just not active - you still have the front sheet selected which is entirely grey. Also, the sheet tabs have been hidden so there is ...

4 years ago
Forum
Reply
Reply
RE: Run-time error '1004': Unable to set the Visible Property of the Worksheet class - PLEASE HELP

The Activate code in the form protects the workbook. That means that you can't then change the visibility of any sheet unless you unprotect the workbo...

4 years ago
Forum
Reply
RE: Problems when trying to write this formula =AP6:address(6;counta(AP6:BJ6))

You've used a colon instead of a semicolon in the name definition - it should read: =$AP$6:index($6:$6;counta($6:$6)+1))

4 years ago
Reply
RE: Problems when trying to write this formula =AP6:address(6;counta(AP6:BJ6))

ADDRESS returns text, not a range reference, so you'd need to use INDIRECT: =AP6:INDIRECT(address(6;counta(AP6:BJ6))) or perhaps just:...

4 years ago
Reply
RE: Importing specific excel file from a folder

It looks like you've already got the basic code - just amend for example FileToOpen in your first routine to use a specific path and file name rather ...

4 years ago
Forum
Reply
RE: GetOpenFileName open specifc folder

Try adding: ChDrive "H:" ChDir "H:PROJECT-OPSNSW WarehouseNSWTA Inventory Listing" before the line to select the file.

4 years ago
Forum
Reply
RE: Random numbers incorrect when column hidden

You could use something like COUNTIF instead of Find: Sub Draw() Dim i As Integer, Number As Integer Dim DataRange As Range Set DataRange =...

4 years ago
Forum
Page 35 / 56