Search results

  1. The Rev

    Solved Using Access VBA to change a Powerpoint text box value

    Yes. It worked wonderfully! I may have some follow-up questions tomorrow, but for now, cheers!!
  2. The Rev

    Solved Using Access VBA to change a Powerpoint text box value

    Got it!!! Const msoFileDialogFilePicker As Long = 3 Dim strSelectedFile As String Dim AppPPT As Object, objSlide As Object, objShape As Object, objPresentation As Object Set fdg = Application.FileDialog(msoFileDialogFilePicker) Set objSFolders = CreateObject("WScript.Shell").SpecialFolders...
  3. The Rev

    Solved Using Access VBA to change a Powerpoint text box value

    This didn't generate errors, but it didn't replace the text.
  4. The Rev

    Solved Using Access VBA to change a Powerpoint text box value

    Still tinkering. Private Sub Outbrief_Click() Const msoFileDialogFilePicker As Long = 3 Dim strSelectedFile As String Dim AppPPT As Object, objSlide As Object, objShape As Object, objPresentation As Object Set fdg = Application.FileDialog(msoFileDialogFilePicker) Set objSFolders =...
  5. The Rev

    Solved Using Access VBA to change a Powerpoint text box value

    No. I get Object Required for For Each objShape In pptSlide.Shapes
  6. The Rev

    Solved Using Access VBA to change a Powerpoint text box value

    I'm getting "Object doesn't Support this property or method" at For Each sld In AppPPT.Slides I'm just using this code from an "On Click" event, not as a separate Sub.
  7. The Rev

    Solved Using Access VBA to change a Powerpoint text box value

    Good afternoon, I am trying to have my Access database open up a Powerpoint presentation template .pptx and replace a value with a value from the database. Currently, on the main slide and a few others in the template, we have a placeholder of "XXXXX" for the company name. That value is already...
  8. The Rev

    Tool Tips for text box content

    Oh that's quite alright. I appreciate you brainstorming with me. The field is already rtf, so that's a plus. I may try the HREF tags just to see.
  9. The Rev

    Tool Tips for text box content

    Yeah, it's for a specific word or phrase. For instance: Require multifactor authentication to establish nonlocal maintenance sessions via external network connections and terminate such connections when nonlocal maintenance is complete. I want to be able to hover over "nonlocal" or "external...
  10. The Rev

    Tool Tips for text box content

    That's what I was afraid of. Yeah, the text box has a lot of discussion text. I don't have a lot of terms to define though. Like 12 or 13 maybe.
  11. The Rev

    Tool Tips for text box content

    Using Access 2016. I have a form with a discussion textbox. Is there a way to parse the text for specific terms and hover over the term in the text box and get a "tool tip" popup with a definition for that term? Thanks.
  12. The Rev

    Solved Query returning no records causes erro on form command

    Got it!! I had to evaluate the count of records returned by the query and if it was 0, set Enabled to NO and if it was not 0, set it to YES (True and False in the code) On Error GoTo ErrorHandler Me.SearchResults.Enabled = True Dim vSearchString As String vSearchString =...
  13. The Rev

    Solved Query returning no records causes erro on form command

    Unfortunately, it has some proprietary info built in that my boss won't allow me to leak out... I appreciate you guys a ton.
  14. The Rev

    Solved Query returning no records causes erro on form command

    Ugh. The form will not let me scroll in the list box when Enabled = NO, but it goes back to blanking when Enabled = YES...
  15. The Rev

    Solved Query returning no records causes erro on form command

    Fixed! I had to edit the properties of the List Box SearchResults. "Allow Value List Edits" to NO and Enabled to NO. Well that was weird... Thanks again for your willingness to assist!
  16. The Rev

    Solved Query returning no records causes erro on form command

    And this is the exact issue I am having: https://www.datanumen.com/blogs/avoid-unexpected-blank-forms-ms-access/ Condition 1: The form is in query mode, in which the criteria contains no record.
  17. The Rev

    Solved Query returning no records causes erro on form command

    Why certainly: Private Sub SearchFor_Change() On Error GoTo ErrorHandler Dim vSearchString As String vSearchString = SearchFor.Text SrchText.Value = vSearchString Me.SearchResults.Requery Me.SearchResults = Me.SearchResults.ItemData(1) Me.SearchResults.SetFocus...
  18. The Rev

    Solved Query returning no records causes erro on form command

    Added one, and the error vanishes, but the form completely blanks out. All the text boxes vanish and I have to close and reopen it to search again.
  19. The Rev

    Solved Query returning no records causes erro on form command

    Thread address is https://www.access-programmers.co.uk/forums/threads/dynamically-search-multiple-fields.188663/
  20. The Rev

    Solved Query returning no records causes erro on form command

    I pilfered the code from this thread: https://www.access-programmers.co.uk/forums/threads/dynamically-search-multiple-fields.188663/ And removed the logic for trailing blanks because I don't care about them. I built my form and the query exactly as described. It works fine except if no results...
Back
Top Bottom