About 29,300,000 results
Open links in new tab
  1. VBA Code doesn't read in String correctly - Stack Overflow

    Jun 24, 2021 · I want to use the read character combination as a filter for another spreadsheet. But the character combination is not found. In the textbox the character combination is output …

  2. VBA macro does not detect simple text - Microsoft Community

    Jan 4, 2025 · ' Try to get the displayed text in cell A1 (use .Text instead of .Value) . cellText = ws.Cells(1, 1).Text . ' Check if the .Text property retrieves any value . If Len(cellText) = 0 Then …

  3. Inputting non-ASCII characters to VBA results in - MrExcel

    Feb 15, 2007 · I can't read code from outside sites, but this is a simple example that you can try: In the vba editor set the reference to "Microsoft Active Data Objects 6.1 Library" (in Tools …

  4. Excel VBA not recognizing cell value - Excel Help Forum

    Jun 7, 2017 · The VBA codes doesn't recognize the result of the formula in A1, it only sees that there is a formula. If I replace A1 with the text value of said content, the VBA code works …

  5. vba - Why can't I get textbox.text values from code generated …

    Oct 16, 2014 · I tried retrieving the text like I normally do (something like; Xstring = UserForm1.Box1.Text), that didn't work. So then I cycled thru the form controls; …

  6. VBA not reading all of the text file into array - MrExcel

    May 9, 2022 · VBA Code: Dim FileNum As Long, TotalFile As String, ArrTxt As Variant FileNum = FreeFile Open PathAndFileName For Binary As #FileNum TotalFile = Space(LOF(FileNum)) …

  7. VBA Excel, when I read from a text file into a (string) variable, why ...

    Aug 10, 2020 · At a later stage, I need to read the data from the file and put it back in the textbox in exactly the same form. When I do this, the Cr/Lf characters (0d 0a) are missing. I have …

  8. Vba Txt Reader: Fast File Access Code - IPAM Power Hub

    Dec 16, 2024 · Here, we’ll delve into creating a fast VBA text reader, leveraging the Windows API for optimized file access. Introduction to VBA and File Access VBA, although not as widely …

  9. Problem in VBA reading text from body of out of office …

    Apr 28, 2014 · I've changed my code to use the ReportItem.SaveAs property to save the entire message as a Text file, open the text file and read that into my string, and then 'top and tail' it …

  10. VBA to read cell value rather than the cell formula - MrExcel

    Apr 8, 2019 · How can i get my code to read the cell value, which does change, rather than the formula which doesn't? Private Sub Worksheet_Change(ByVal Target As Range) If Not …

Refresh