Recent content by papasmurfuo9

  1. P

    VBA to print all files in a folder

    thanks - that seems specifically for PDFs? im after word/excel/pdf i found this, but doesnt seem to work Set shApp = CreateObject("shell.application") Set shFolder = shApp.Namespace("Filepath") Set shItems = shFolder.Items() For Each shItem In shItems shItem.invokeverb "&Print" Next
  2. P

    VBA to print all files in a folder

    Hi, could anyone share code will print all files in a specific folder the folder could contain, workbooks, PDFs and word documents - i need all printing to default printer thank you!
  3. P

    Merging two tables

    thank you kind sir
  4. P

    Merging two tables

    Hi is the following possible, thanks in advance ; So i have two tables Table one list of names Table two list of tasks I want one table to have the list of names, then record in the table is expandable with a list of tasks So Table 1 Michael Roger Tim Table 2 : Headers: Tasks | Date...
  5. P

    Returning end letters

    Hi I only wanna return what ive highlighted bold before, so top one, g ea Excel i use this IFERROR(TRIM(REPLACE(SUBSTITUTE(L2,"" x "",""""),1,FIND("" "",SUBSTITUTE(L2,"" x "","""")),"""")),"""") Qry_Range_File_Master Sales conversion text 1 x 1 x 24 x 250 g ea 1 x 1 x 1 x 2 Kg ea 1 x 1 x 30 x...
  6. P

    Replace excel formula with equivalents in access?

    cheers, will try figure the logic ta!
  7. P

    Replace excel formula with equivalents in access?

    not sure how to combine these for desired result, but will give it a go, thanks
  8. P

    Replace excel formula with equivalents in access?

    Hi the field contains - 8 examples 1 x 1 x 24 x 250 g ea 1 x 1 x 1 x 2 Kg ea 1 x 1 x 5 x 100 pk 1 x 1 x 2 x 2 ltr 1 x 1 x 2 x 2 ltr 1 x 1 x 12 x 80 g pk 1 x 1 x 1 x 500 1 x 1 x 3 x 5 Ltr con and on the above, im trying to bring back g ea Kg ea pk ltr ltr g pk Ltr con thank you
  9. P

    Replace excel formula with equivalents in access?

    =REPLACE(SUBSTITUTE(M2," x ",""),1,FIND(" ",SUBSTITUTE(M2," x ","")),""). to be =REPLACE(SUBSTITUTE([MYFIELD]," x ",""),1,FIND(" ",SUBSTITUTE([MYFIELD]," x ","")),"") hi could someone assist with the above? thanks in advance
  10. P

    Date in VBA for Last Monday to sunday

    Hi could someone advise on how to set parameters for the date being last monday to last sunday so Paramaters = Date then i need ParamatersWeek = the last monday to the last sunday thank you!
  11. P

    all records for last "monday"

    cheers dude
  12. P

    all records for last "monday"

    cheers pal - sorry just to confirm, thats last monday of the previous week?
  13. P

    all records for last "monday"

    hi in my query im doing the following to pull all records for the previous week Total Completed: Sum(IIf([Date Completed] Between Date()-(6+Weekday(Date(),2)) And Date()-Weekday(Date(),2),1,0)) what i need now, is one for just Last monday, last tuesday last wednesday last thursday last friday...
  14. P

    Appactivate, then return focus question

    anyone any ideas on the above thanks
  15. P

    Appactivate, then return focus question

    thought i had it with the below, but doesnt seem to work any ideas? thanks Dim MyAppID, ReturnValue MyAppID = Shell("C:\Program Files\Network Designers\bin\Wscman.exe" & " REFLEX.prw", vbNormalFocus) DoEvents AppActivate "Reflex", True DoEvents Sleep 10000 SendKeys "m", True SendKeys "f", True
Back
Top Bottom