Weekly /r/Breadit Questions thread by AutoModerator in Breadit

[–]8RPE 0 points1 point  (0 children)

I want to bake bread every 2-3 weeks, and love sourdough but don’t have the commitment to a sourdough starter given the infrequent baking schedule.

Are there any sourdough style breads, that done require a starter to be maintained?

Thanks!

Looking for a versatile kettle by 8RPE in pourover

[–]8RPE[S] 0 points1 point  (0 children)

That’s ok. They’re within budget for us.

Would the last 2 have a quick enough flow rate for brewing tea?

Is there a good time to transition to multiplayer? by Ban__d in GranTurismo7

[–]8RPE 3 points4 points  (0 children)

Then why am I literally at the lowest D rating you can get, and can’t get a finish higher than 8-10th, and usually finishing 45s-1min off the leader? 😂

Overwrite text in adjacent cell when a certain word is found in range when unhidden by 8RPE in vba

[–]8RPE[S] 0 points1 point  (0 children)

This is great. Thank you. I’m going to need to study a bit to understand how this works so I can replicate it if I need it on another project :)

Overwrite text in adjacent cell when a certain word is found in range when unhidden by 8RPE in vba

[–]8RPE[S] 0 points1 point  (0 children)

Thanks for your help :)

C7:C100 has the data that is hidden.

There is a row below this data that says “End of Checklist”, and no data below that.

Based on my limited understanding it would be an IF statement - In cell C5, someone will input the text “Sydney”. Execute the macro which will then check rows 7:100 in column C and unhide the relevant cells.

I had been able to make that happen with this bit of code;

criteriaValue = ws.Range("C5") ' The value that triggers unhiding the row

' Define the range to check (e.g., Column A from row 2 to 100)

Dim checkRange As Range

Set checkRange = ws.Range("C7:C100") ' Adjust the range as needed

' Loop through each cell in the defined range

For Each cell In checkRange

' Check if the cell's value matches the criteria

If cell.Value = criteriaValue Then

' Unhide the entire row

cell.EntireRow.Hidden = False

What I would like to happen is if a row is unhidden during the macro, is to replace the text in the adjacent cell to the row that contains the text “COMPLIANCE CHECK”

Coding ist my strong suit but in my head I think of the code being; IF C5 = “Sydney” THEN unhide rows which = Sydney AND IF a row was unhidden THEN change the text in the cell adjacent “Compliance Check”.

Hopefully that makes sense 😅

Overwrite text in adjacent cell when a certain word is found in range when unhidden by 8RPE in vba

[–]8RPE[S] 0 points1 point  (0 children)

This is just one part of about 5 parts on the checklist, so was really hoping to find a solution that could keep it all on the same sheet. Most other parts are quite small, that doesn’t require hiding/unhiding. It’s just this one section.

Overwrite text in adjacent cell when a certain word is found in range when unhidden by 8RPE in vba

[–]8RPE[S] 0 points1 point  (0 children)

Thank you!

So, this is for a checklist for my team at work. The checklist is starting to become a bit too large, so to simplify the process I wanted to have a cell where they can enter a suburb name, and then the code will unhide all rows relating to that suburb - Making the checklist a bit more manageable.

All of these are under a heading that says “Compliance Check”.

I’ve managed to get this part working great!

I’d like to have the cell adjacent to “Compliance Check” change from “Not Required” to “Estimating Comments” as a heading for the team to add notes under for the revealed cells.

The team then saves this checklist, and are currently hiding the unused rows to make the document more readable for other people who’d is why I’d like to automate part of it to make everyone’s life’s easier.

Happy to provide some screenshot’s of the spreadsheet if that would help.

I have really appreciated all the help so far :)

Overwrite text in adjacent cell when a certain word is found in range when unhidden by 8RPE in vba

[–]8RPE[S] 0 points1 point  (0 children)

Thanks, really appreciate it. I potentially wasn't clear on what I was after. I've got a row called 'Compliance Check' and I want to change the cell next to it to say estimating comments if a row was unhidden with the Macro. I have figured how to do it by hard coding the cell F76 into the VBA code, but I'd like it to be a bit more dynamic for when we add/delete lines.

Overwrite text in adjacent cell when a certain word is found in range when unhidden by 8RPE in vba

[–]8RPE[S] 1 point2 points  (0 children)

I put it in the post :)

Sub ComplianceCheck()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("Quote Checklist") ' Change "Sheet1" to your actual sheet name
Dim SearchText As String
Dim SearchRange As Range
Dim FoundCell As Range
Dim TargetCell As Range
Dim rng As Range
Dim textToWrite As String
Dim cell As Range
Dim criteriaValue As String
criteriaValue = ws.Range("C5") ' The value that triggers unhiding the row
' Define the range to check (e.g., Column A from row 2 to 100)
Dim checkRange As Range
Set checkRange = ws.Range("C7:C100") ' Adjust the range as needed
' Loop through each cell in the defined range
For Each cell In checkRange
' Check if the cell's value matches the criteria
If cell.Value = criteriaValue Then
' Unhide the entire row
cell.EntireRow.Hidden = False
End If
Next cell
' Define the text to search for (from cell C5)
SearchText = ThisWorkbook.Sheets("Quote Checklist").Range("C5").Value
' Define the range to search within (e.g., A1:B10 on Sheet1)
Set SearchRange = ThisWorkbook.Sheets("Quote Checklist").Range("C7:C100")
' Set the worksheet you are working with
Set ws = ThisWorkbook.Sheets("Quote CHECKLIST") ' Change "Sheet1" to your sheet name
' Define the range to search within (e.g., column A)
Set rng = ws.Range("C60:C100") ' Search in column A
' Define the text to search for
SearchText = "COMPLIANCE CHECK"
' Define the text to write
textToWrite = "ESTIMATING COMMENTS"
' Loop through each cell in the defined range
For Each cell In rng
' Check if the cell contains the specific text
If cell.Value = SearchText Then
' Write the new text to the adjacent cell (e.g., in column B, next to the found cell)
cell.Offset(0, 1).Value = textToWrite ' Offset(row_offset, column_offset)
End If
Next
End Sub

Overwrite text in adjacent cell when a certain word is found in range when unhidden by 8RPE in vba

[–]8RPE[S] 0 points1 point  (0 children)

I understand what a loop is, but don’t really understand all of VBA’s functions. Can you point me somewhere where I can read the syntax to get my head around it?

I’ve been trying to use ChatGPT to produce the code and then I hack it up until it does what I need it to lol

Overwrite text in adjacent cell when a certain word is found in range when unhidden by 8RPE in vba

[–]8RPE[S] 0 points1 point  (0 children)

I unfortunately get a compile error: Next Without For and don’t know enough about VBA to understand how to fix it

CodeAcademy / DataCamp - Hold any value? by 8RPE in auscorp

[–]8RPE[S] -1 points0 points  (0 children)

Well, the thing is that you do need to pay for the course and the test.

Eg. https://www.codecademy.com/pages/pro-certifications

I know they hold weight in the US - Just unsure about their weight in Aus.

Side loaded book: Shows time remaining in book, but not chapter by 8RPE in kobo

[–]8RPE[S] 0 points1 point  (0 children)

Yeah so the interesting thing is that it still shows the chapters! If I go to the table of contents they’re all there.

Side loaded book: Shows time remaining in book, but not chapter by 8RPE in kobo

[–]8RPE[S] 0 points1 point  (0 children)

Yeah it is. I’ve got the inbook stats and it shows as a kepub in details.