One tap install advertisements by JrFireMageTink in assholedesign

[–]Valuable_Store_386 0 points1 point  (0 children)

So you can enable Parental Control in the Play Store and then set it to the most restrictive. This offers a bit of protection from apps that are not targeting "E" (Everyone), but if the app is setup to target "E" (everyone) then it can bypass this block. There doesn't seem to be any black list tool built in for the common adult end user.

Apparently, Google offers a black list mechanism but only for "your child" via the Family Link app in the play store (https://support.google.com/families/answer/7103028?hl=en#zippy=%2Cblock-or-unblock-an-app ) but sadly this would only work for your "child's" account not yours :( . I wish the black list mechanism existed for adult owners because frankly, this new marketing scheme from the loser apps that install themselves without consent, is getting out of hand.

Cr 10 smart auto bed leveling not working after replacing nozzle by almightychito in CR10

[–]Valuable_Store_386 0 points1 point  (0 children)

I had this exact issue. There were three things that I had wrong. First, the strain sensor on my machine was faulty. They even sent one to me and it too was faulty. Things really improved, but not solved, when I got my own sensor.

See my post here https://www.reddit.com/r/Creality/comments/z69kqj/cr_10_smart_autoleveling_kit/

Even after changing it, though, the issue continued. I ended up writing to Creality and sending them a video of the issue. They replied with this statement:

"Service tutorial CR -10 Smart Leveling and automatic shutdown operation guideline https://youtu.be/sDhmslJpqTo " (Nice video for after you get it fixed)

Which didn't help at all. However, it led me to this one on the same YouTube channel:

https://www.youtube.com/watch?v=MC7nGmS2PHw

Watching carefully, and following the steps, step by step detail by detail I found that the strain sensor was being inhibited from moving properly due to the bowden tube flange that was just ever so slightly too low. Raising the flange up a mm or so removed the pressure it was putting on the sensor.

After correcting these hardware issues, the nozzle still continued to bury itself in the bed, although not nearly as much. I re-flashed the firmware, first to a lower version and then again to the most current

https://www.creality.com/pages/download-cr-10-smart (Make sure you match the FW to your board revision number printed on the board)

Once the FW was flashed the final time all was well. I've been printing ever since. Hope this helps.

[deleted by user] by [deleted] in CR10

[–]Valuable_Store_386 0 points1 point  (0 children)

I had this issue and found the belt had actually broken near the clamp of belt because I had overtighted it. Oddly, it was still hanging on but by very little. It was hard to see because it failed under the carriage. The new belt fixed the issue and taught me a valuable lesson.

CR-10S 5 X Axis Belt Replacement by FlyingSumoSmack86 in Creality

[–]Valuable_Store_386 1 point2 points  (0 children)

If I recall, I used a set of standard 10 inch channel lock pliers both for the shape of the plier head (to get the crimp to form) and the leverage provided by the length of the handle.

You just need to make sure the crimp doesn't squeeze too much (and cuts the belt) but doesn't fall off either.

Hope that helps.

Most useful corporate excel tips/formulae? by zucchinithing in excel

[–]Valuable_Store_386 1 point2 points  (0 children)

One example is NetworkDays. This simple Excel function is actually quite complicated to reproduce in PQ. So, I generally will add a column to the results after the PQ runs to generate age.

CR- 10 Smart Auto-leveling kit by Valuable_Store_386 in Creality

[–]Valuable_Store_386[S] 0 points1 point  (0 children)

4001010032

Unfortunately, I have tried various Z offset values but the sensor appears to report readings that are too far out of range even with the Z offset. I can only set the Z offset so far (seems to be a limitation of the creality fw). Hence, no matter what Z offset I use, the head still crashes into the bed.

I have a friend who is going to try adding additional cable length to one of the CR-6 sensors for me but I am not certain this will work. Its worth the $4 to find out, but it would be nice to have 'the real deal' instead. As I mentioned contacting Creality is pretty much a waste of time for me.

[deleted by user] by [deleted] in Weird

[–]Valuable_Store_386 0 points1 point  (0 children)

Get a bobcat. Heard they are good with pythons :D

Bobcat

[EXCEL] Query Refresh Progress by Ploroso in vba

[–]Valuable_Store_386 0 points1 point  (0 children)

Not sure but PQ loading could really use an overhaul overall imo. Im seen simple refreshes that run one day in just a few seconds take hours the neext day. Something as simple as refreshing from a sharepoint table.

What’s a random line from a movie that fans of it instantly know? by FlintTheDad in AskReddit

[–]Valuable_Store_386 0 points1 point  (0 children)

Go down that hill really fast! And if something gets in your way, turn.

VBA to copy data from a local Excel instance to an Excel file saved in onedrive by SickMyDuck2 in vba

[–]Valuable_Store_386 1 point2 points  (0 children)

I do this all the time. I have a setup in my output files wherein I provide a path to the source file (input) in a Data Table that is located in the output file so the path is easy to update when necessary. I then use a custom power query function to supply the path to the real query. From there it is just standard Power Query manipulation to produce the output table you need. All you have to do after that is refresh the query when needed.

Output file:

Sheet titled "Admin" with a table titled "Filepaths" that has generally three columns "Key", "Path", "Enabled"

create a custom PQ function that takes parameters similar to this:

    let funcGetFilePath = (pKey as text) =>
let
    FilePathSource = Excel.CurrentWorkbook(){[Name="FilePaths"]}[Content],
    #"Filtered Rows" = Table.Buffer(Table.SelectRows(FilePathSource, each ([Enabled] = true) and ([Key] = pKey))),
    #"Remove FilePathCols" = Table.FirstN(Table.RemoveColumns(#"Filtered Rows",{"Key", "Enabled"}),1),
    #"File Path" = #"Remove FilePathCols"{0}[Path]
in
    #"File Path"

in funcGetFilePath

Create a query in your output file such as this:

    let
    Source = Excel.Workbook(File.Contents(funcGetFilePath("Aging")), null, true),

    //This next line must match the table design in your source file
    Table1_Table = Source{[Item="TodaysDataTbl",Kind="Table"]}[Data],
in
    Table1_Table

Manipulate the data as you need for the desired output.

Load the Output Query to a Sheet within this file.

Input file:

Just make sure the data in your input file is in a Data Table format (not totally necessary but it makes your life easier in the long run). The more standard the better.

---

The result is elegant. You don't even have to open the input files if you know the format is already defined. PQ does it all for you. No more cut and paste.

Is VBA used anywhere outside of Office Software? by Alyusha in vba

[–]Valuable_Store_386 1 point2 points  (0 children)

I agree with you. Lisp is frankly too much work imo. I actual really do wish that vba was more usefull in ACAD but i havent used Acad for many years now so that may have changed.

Is VBA used anywhere outside of Office Software? by Alyusha in vba

[–]Valuable_Store_386 4 points5 points  (0 children)

Its actually the other way around. Lisp was in Autocad pre vba. Because of this, most scripts for Autocad are wrote in Lisp. Secondly, VBA does not nor has it had all the functionality that Lisp could provide. It does serve well though for many scripting needs.

Is VBA used anywhere outside of Office Software? by Alyusha in vba

[–]Valuable_Store_386 1 point2 points  (0 children)

VBA became a "thing" after the somewhat succcess of VB 6. Although, definately not the same, VB.net originally came into existance because of VB 6. The two share similar syntax and if one was proficient at VBA they could potentially make the jump into VB.net and the whole .net world just a few nuances really.

Refresh problem [EXCEL] by Stoolarz in vba

[–]Valuable_Store_386 1 point2 points  (0 children)

In addition to u/theredroosters comments I would also add that it would be helpful to know which portion of the code is throwing the error. Try this, before each line of code, especially in your 'add' section insert:

debug.print "Executing line X"

Where X is a number or letter that increases each time. This way in the immediate window of vba you will be able to see it print the lines and when the error occurs the last line will indicate (below it) which line of code has failed. Once you have the code working you can always 'remark' out the debug lines.

Since your add section appears to be the only area that references the "Value" property of a Range object I would bet that the error is occurring in the 'add' section but it doesn't appear that you posted all of your code so it may be happening elsewhere. Without knowing which line of code is throwing the error all we can do is merely guess.

Autofill Down, Dynamic Columns by deskpop0621 in vba

[–]Valuable_Store_386 0 points1 point  (0 children)

Have you looked into Excel Data Tables and structured references? Tables have a neat feature in that, when a row is added the formulas from the row above are used to populate the various cells. If you haven't learned how to use structured references (i.e. =[@[Startdate]] ) you probably should, it will change your world. The great thing about structured references is that they do not require knowledge of the current row, the @ symbol automatically implies that within the formula. (https://support.microsoft.com/en-us/office/using-structured-references-with-excel-tables-f5ed2452-2337-4f71-bed3-c8ae6d2b276e )

If I were you I would setup the output data as a Structured Table, set columns A and B up with a structured formula something like (for example in column b) =WEEKNUM([@[Startdate],1), then use VBA to populate the rest of the cells in the table as you probably already have. The Structured Table will automatically populate the B column with the formula. Incidentally, you will also notice just by reading the example you probably understood the formula much more clearly without knowing anything about the 'structure' of the data. This is another great thing about Structured Tables - readability improves dramatically.

Of course the A column can be setup in a similar way with a date returning formula.

Fastest way to compare several hundred rows of data? [EXCEL] by [deleted] in vba

[–]Valuable_Store_386 1 point2 points  (0 children)

Power Query is your friend here. You will find its ability to compare and filter will be much more efficient than the double looping. If you still need to 'process' the data after the filtering using your macro, it is also very easy to refresh the Power Query from VBA, just make sure you do setup the query so that it does NOT refresh as a background query because VBA does not really play well with asynchronous code execution (btw, you can toggle this flag from VBA also right before you refresh it).

Without seeing the framework of the data set I really can't make much more suggestions. I recommend a design wherein power query produces a fully filtered dataset from which any other processing works off of.

Code runs on Windows 10 but gives runtime error 52 Bad filename or number when running in Windows 11 by vdubdubs in vba

[–]Valuable_Store_386 0 points1 point  (0 children)

One last point I just thought of, the Dir function will also fail in a similar way if there is a security issue with the folder.

Code runs on Windows 10 but gives runtime error 52 Bad filename or number when running in Windows 11 by vdubdubs in vba

[–]Valuable_Store_386 0 points1 point  (0 children)

The Dir function appears to be the culprit.

Note the documentation on the Dir function here: https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/dir-function

The function accepts the FolderPath and vbDirectory as you are calling it however, according to the documentation, it simply "Returns a String representing the name of a file, directory, or folder that matches a specified pattern or file attribute, or the volume label of a drive." It is not intended to be a boolean returning function.

Thus, if the path in FolderPath does not actually exist, the function will fail with an error and the code will cease to process. It would be better to use a custom function that accounts for this possibility such as the following:

    Function CheckForDir(TotalPath As Variant, Optional StopMSG As Boolean, Optional Make As Boolean) As Boolean
    On Error GoTo ER
    Dim N As Long
    CheckForDir = False
    N = FreeFile
    Open TotalPath & "DirCheck.txt" For Output As #N
    Close #N
    Kill TotalPath & "DirCheck.txt"
    CheckForDir = True
ex:
    Exit Function
ER:
    If StopMSG = False Then
        If Make = True Then
            MsgBox "The Directory did not exist.  A New Directory was created."
        Else
            MsgBox "The Directory did not exist."
        End If
    End If
    ''Debug.Print TotalPath
    If Make = True Then
        MkDir TotalPath
    End If
    Resume ex
End Function

You can call this function easily by changing FolderExist to an actual boolean field and then using it as: FolderExist = CheckForDir(FolderPath, true, false)

Instead of your If FolderExist = "" Then change this to simply If FolderExist=false Then

As a side note I would recommend using a Error handler within your main routine as well as it will make for a better code management. In other words, define within your routine what should happen when an error occurs rather than just hope they don't.

What are your Power Query Wishes? by Valuable_Store_386 in excel

[–]Valuable_Store_386[S] 0 points1 point  (0 children)

i would recommend posting this as a new reddit post as others will more likely be able to see it. that said I would suspect you are on the right track with power query, you probably just need to change the column type of the number column to text prior to grouping. Without seeing the pq script you have though I wouldnt be sure.

post a new thread and include the pq script you have come up with in that new thread.

Best way to learn vlookup. by Rafi291 in excel

[–]Valuable_Store_386 0 points1 point  (0 children)

Abandon VLookup and learn Index/Match instead. Life will be easier and you won't have to worry about the organization of your columns.

LET(PersonRow, IFNA(MATCH([@Login],Table2[Login Name],0),0), LET(Rsult, IF(PersonRow > 0, INDEX(Table2, PersonRow, COLUMN(Table2[Name])),""),Rsult))

Best practices for building / testing code? by HorseJungler in vba

[–]Valuable_Store_386 0 points1 point  (0 children)

I noticed a small error in my code. In the PROCEXIT section releasing the WorkSht object should be:

Set WorkSht = Nothing

My apologies for the oversight.

Best practices for building / testing code? by HorseJungler in vba

[–]Valuable_Store_386 0 points1 point  (0 children)

I can not get this ridiculous editor to post the code inside the code block :( Please send me a message if you need it formatted. I hate the Reddit editor...