Excel VBA Introduction Part 53.4 - Replacing Strings

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 25

  • @JF098
    @JF098 4 года назад +1

    You are an absolute gem. I would love to shake your hand one day and tell you that you've taught me literally everything I know about macros. You're very clear, very engaging, very chill, and always one step ahead of what we want to and need to know. A million times, THANK YOU.

    • @WiseOwlTutorials
      @WiseOwlTutorials  4 года назад

      You are very welcome! Very happy to hear that you've found the videos useful and thank you for taking the time to leave a comment!

  • @oliverbird8320
    @oliverbird8320 7 лет назад +4

    Thank you, Dr.Wise! There is no one out there doing this educational videos. Appreciated

  • @TheMelloPhan
    @TheMelloPhan 5 лет назад +2

    Changing Twilight to Terrible.... Savage.

  • @donbogdala5428
    @donbogdala5428 7 лет назад +2

    Wiseowl is the best!

  • @blakedextraze8680
    @blakedextraze8680 6 лет назад +4

    Tell us what you really think of twilight lol . Great series, Thanks!

  • @kashifkhanspecial
    @kashifkhanspecial 4 года назад +2

    Hi Andrew,
    How are you, I think you will be good with the grace of God, I have one request to you, could you please upload a video tutorial about, how can we use RegulaExpressions in VBA.
    Thanks
    Kashif

  • @sashatv138
    @sashatv138 5 лет назад +2

    So funny, and so useful!!! Thank you, Andrew!

  • @krn14242
    @krn14242 7 лет назад +1

    Thanks Andrew, very useful.

  • @jasmeenmalhotra2225
    @jasmeenmalhotra2225 5 лет назад +1

    This is TOO MUCH FUN. Thanks for this great tute. I might even be converted from Leila. Maybe.

    • @johassan6509
      @johassan6509 4 года назад

      Gharani?

    • @jasmeenmalhotra2225
      @jasmeenmalhotra2225 4 года назад

      @@johassan6509 yeah, but she's brilliant too. They're both great teachers in their own way.

  • @987Shadowfax
    @987Shadowfax 6 лет назад

    How to replace

  • @josh7297
    @josh7297 6 лет назад

    Could I using the replace function to actually replace a whole cell reference to another cell reference. Say I have this formula in a cell reference and I want to replace a part of the formula. Do I have to use a string or can I use a cell reference?

  • @chahineatallah2636
    @chahineatallah2636 2 года назад

    hi wiseowl, first thanks a lot, really great channel for vba, i have small question
    why if i dont put "ts.close " and "ts.nothing" it gives some runtime error with some permission title? is it obligatory to put ts.close and ts=nothing?

    • @WiseOwlTutorials
      @WiseOwlTutorials  2 года назад +1

      I don't know why you're receiving an error. Closing the text stream isn't technically obligatory but it is best practice. Your object variable will automatically become Nothing when it goes out of scope. I'd suggest that closing the textstream is more important than explicitly setting it to Nothing.

  • @nuhzakir8896
    @nuhzakir8896 7 лет назад

    Thanks.

  • @gisdepartment9934
    @gisdepartment9934 6 лет назад

    I'm very new to VB and trying to learn it on my own. I successfully replaced spaces with underscores on one of my cells but need to do this on the entire column. How would I go about modifying my current script. Sub ReplacingStrings() Dim s As String
    s = Range("I2").Value
    Debug.Print s
    s = Replace(s, " ", "_")
    s = Replace(s, Chr(10), "")
    Debug.Print s

    End Sub

    • @gisdepartment9934
      @gisdepartment9934 6 лет назад

      That was exactly what I needed and it worked perfectly. Thank you so much for your help.

  • @gisdepartment9934
    @gisdepartment9934 6 лет назад

    One other question if you don't mind. If I export my VB to a .bas file how would I go about running that every day on a excel file that's being updated each day on my network? Could that process be automated as a startup process when I turn my computer on in the morning?

    • @gisdepartment9934
      @gisdepartment9934 6 лет назад

      I will look in to that and let you know how it goes. Thanks again!