Search results

  1. G

    Extract correct leave time

    well it depends on the entry time below ill post 2 images the first one is the block of information we paste onto the file before we run the macro and the second image is the output after the macro is ran(ill circle around a case where the leave time is not displayed correctly) As you can...
  2. G

    Extract correct leave time

    Hello everyone i recently got sent the following code Sub ENTRADAS_SAIDAS() Application.ScreenUpdating = False 'Beginning Range("A1").Select Rows("2:2").Select ActiveWindow.FreezePanes = True ActiveWindow.Zoom = 85 ActiveWindow.DisplayGridlines = False...
  3. G

    Solved Why are my SQL Queries so slow?

    I ended up indexing alot of the fields and that fixed it! it went from needing to wait more than a minute to it basically being done instantly Thanks Minty,plog and Doc!
  4. G

    Solved Why are my SQL Queries so slow?

    it could very well be a query issue but like, on that other workbook that im using to retrieve information i use almost the exact same queries (sometimes even more complex ones) and it takes around 2-3 seconds for the information to appear that database doesn't have as much information it...
  5. G

    Solved Why are my SQL Queries so slow?

    by "this one" i meant the entire code block in general, not any specific query i was also comparing this code block to another block of code that i have in another workbook since the code that i have in the other workbook is also similar to this once although it retrieves information from...
  6. G

    Solved Why are my SQL Queries so slow?

    thanks doc,ill give it a look!
  7. G

    Solved Why are my SQL Queries so slow?

    Hello everyone I've been recently using this code to get information from some of the databases at the company im interning at. This is the code im currently using: Private Sub Worksheet_Change(ByVal Target As Range) Dim userInput As String Dim conn As Object Dim rs As Object...
  8. G

    CATIA Macro that inserts the biggest possible sphere inside of a model

    well i asked it here because its been almost impossible to find any info on any other site,and since people here have been able to help me out alot with my problems thought i should try here :) I came across that site but i dunno why it doesn't let me create an account,always says "Server error"
  9. G

    CATIA Macro that inserts the biggest possible sphere inside of a model

    Yep,and that does not help me at all If anything it makes me even more confused cuz like i said i have no idea how to use CATIA or how CATIA arguments are supposed to be made in VBA soo imaginary code doesn't really help me here XD Ill keep on trying to search for information about this topic though
  10. G

    How to add an arrow onto a cell?

    Hello everyone Im currently writing the code below (there's more stuff upwards and down but its not relevant to this section of code) but now i've encountered an issue i don't know how to fix i want to make a piece of code that analyzes from I3- AL and finds me the max and min value in each row...
  11. G

    CATIA Macro that inserts the biggest possible sphere inside of a model

    the error i get when running the code occurs on this line Dim face1 As HybridShapeFaceExplicit and the error is a "user-defined type not defined" error. Ill give those forums a look and see if anything can help me out
  12. G

    CATIA Macro that inserts the biggest possible sphere inside of a model

    Hello everyone I am in need of assistance in making a macro for CATIA V5 i do not know almost anything about this program but i was asked to make a macro in VBA that when the user runs it will insert the biggest possible sphere inside of the model that was opened,regardless of what model it was...
  13. G

    Solved Need help setting up libraries in CATIAV5 VBA

    a bit weird but hey its working now
  14. G

    Solved Need help setting up libraries in CATIAV5 VBA

    well i guess i got it working the lock for project viewing was NOT selected,i selected it and put a password,deselected it and it then worked! Thanks Uncle Gizmo!
  15. G

    Solved Need help setting up libraries in CATIAV5 VBA

    I tried doing this and yet the References button is still greyed out... Could it be that the CATIA license that the company i work for uses is blocking the workers from adding libraries to CATIA?
  16. G

    Solved How to sort filters on a protected sheet?

    well i managed to fix it lmao Private Sub Workbook_Open() Dim wb As Workbook Dim ws As Worksheet Dim protectPassword As String Set wb = Workbooks("dados.xlsm") Set ws = wb.Worksheets("Dados") protectPassword = "567" If ws.ProtectContents Then ws.unprotect...
  17. G

    Solved How to sort filters on a protected sheet?

    Hello everyone,i've found myself with an issue that i have no idea on how to resolve I have this file that is protected and people are not supposed to be delete,rewrite stuff on it,etc... The thing is that i have filters on the first row and even though the sheet is protected and i don't want...
  18. G

    How to fill Listbox with data from another workbook

    honestly didnt know there was a column property within the listboxes,its the first time i've used listboxes so i wasnt aware :/ ill give the thread a look and then say something if i managed to fix my issue!
  19. G

    Solved Export data to another workbook

    i managed to fix it,here's the code i used if anyone is in need of help Private Sub CommandButton1_Click() Dim filePath As String Dim ws As Worksheet Dim lastRow As Long Dim outputText As String Dim i As Long, j As Long Unload Me ' Fecha o userForm '...
  20. G

    How to fill Listbox with data from another workbook

    Hello everyone I am writing here because im in need of help when it comes to putting information from another workbook on the list box The code below works but what is really screwing me over is the way that the information is being sent to the list box...
Top Bottom