Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SMHSleepy

    Convert variable number of pages from .doc to .pdf

    Nevermind, I figured it out. Just had to change the True to False in the macro. Duh! All is good now.
  2. SMHSleepy

    Convert variable number of pages from .doc to .pdf

    Hi MajP, After the conversion, Adobe Acrobat remains open. Is there a way to close it? sleepy
  3. SMHSleepy

    Access VBA to run Word macro on batch list of files

    Hello all, I have a Word macro which converts a word document to pdf and copies it to a network folder. I would like to code VBA in Access which will go to a specific directory containing a bunch of Word documents and run the macro on each file before returning to the database. Can someone get...
  4. SMHSleepy

    Convert variable number of pages from .doc to .pdf

    Thank you very much majP! Works like a charm. Just made a small ammendment to grab existing file name and change it from .doc to .pdf Sub ExportSectionToPDF() Dim rng As Word.Range Dim doc As Word.Document Dim theStart As Long Dim theEnd As Long Dim strDocName As String Dim...
  5. SMHSleepy

    Convert variable number of pages from .doc to .pdf

    The example given from the link is: With Selection.Find .ClearFormatting .MatchWholeWord = True .MatchCase = False .Execute FindText:="library" End With But how do I find what page number that relates to?
  6. SMHSleepy

    Convert variable number of pages from .doc to .pdf

    I just tested it and my assumption was correct; however, this doesn't work for me because the end point is not actually a table. Is there a way to modify this so it looks for a specific phrase instead of a table?
  7. SMHSleepy

    Convert variable number of pages from .doc to .pdf

    Sorry, I've been distracted and haven't had a chance to test this yet. If I want to go to the 2nd table instead of the first, would I just change the code to Set tbl = doc.Tables(2)?
  8. SMHSleepy

    Sort a query-based report

    This is drving me crazy and I've tried suggested solutions which don't seem to work. I have a simple query which includes LastName and FirstName fields. I can sort the query just fine for LastName then FirstName. I created a Report based on this query but it doesn't sort. I read that you're...
  9. SMHSleepy

    Convert variable number of pages from .doc to .pdf

    Sounds doable. Will give it a try, thanks.
  10. SMHSleepy

    Convert variable number of pages from .doc to .pdf

    Hello all, I'm not sure if this is more of a MS Word Macro question or an Access database question but here it goes. I have documents in .doc format which need to be converted to .pdf for processing. I am able to write code in Access to grab the .doc files and convert them to .pdf but now...
  11. SMHSleepy

    Update table from data in csv file

    Hey MajP, forgot to get back to you earlier but just wanted to let you know it's done and works like a charm. Thanks very much for your help!
  12. SMHSleepy

    Update table from data in csv file

    Actually, I have a better idea. I will write code to rename the csv file so the link doesn't need to be updated. Of course, I will copy the original filename to an archive folder first. Will let you know how it turns out, thanks!
  13. SMHSleepy

    Update table from data in csv file

    Sounding better. Can I update the link to the new file using code or do I have to do it manually through the menu?
  14. SMHSleepy

    Update table from data in csv file

    Thanks for the speedy reply. The csv filename changes every time though. I can code the exact path and filename if that helps.
  15. SMHSleepy

    Update table from data in csv file

    Hello all, I have a table with client transaction information and a check box to mark whether it has been sent to a different department for processing. Once processed, the other department sends me a csv file with all the transactions it has processed successfully (some don't get processed due...
  16. SMHSleepy

    Export Query to Excel Question

    OMG, I feel like such a newb. Thank you! All I did was make a copy of my query, change it to an update query and put change to "true" in the checkbox. Simple but brilliant, thanks again!
  17. SMHSleepy

    Export Query to Excel Question

    Hi folks, I have a query which I use to periodically export data to an Excel file. I use the <DoCmd.TransferText acExportDelim> command to do this. After I do the export, I would like to update the checkbox field in one of the tables so that it doesn't get exported again when I run the...
  18. SMHSleepy

    Calculations and sorting within a query

    SELECT tblWorkloadhrs.Tech, Sum(tblWorkloadhrs.Hours) AS SumOfHours, tblPersons.FirstName, tblPersons.LastName, tblWorkloadhrs.WorkLoadID FROM tblPersons INNER JOIN tblWorkloadhrs ON tblPersons.[autoIDPerson] = tblWorkloadhrs.[Tech] GROUP BY tblWorkloadhrs.Tech, tblPersons.FirstName...
  19. SMHSleepy

    Calculations and sorting within a query

    Okay, I started over instead of trying to modify my mess and now it works! I must have been including extraneous fields that caused problems. Thanks for your help!
  20. SMHSleepy

    Calculations and sorting within a query

    I still don't get it. I'm either getting the same thing or an error no matter what I try.

Part and Inventory Search

Back
Top