+ Reply to Thread
Results 1 to 6 of 6

Range in code gives special problem

  1. #1
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Range in code gives special problem

    HI I have below codes, which give me a special result. 2 Sheets have to be changed to uppercase both for range A1:A200.

    The first code is working. But the second which is called from the first dont do any thing. The codes are identically. So i cant really get it.

    Please have look at below code.

    Thanks in advance

    Abjac

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    163

    Re: Range in code gives special problem

    Hi again

    I think the second Sub doesn't do anything because in Lookupsheet there is no range selected (just single cell).
    I just guessing but I would do this more or less like that:

    Please Login or Register  to view this content.
    Just try it, but it is not tested and written ad hoc.

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Range in code gives special problem

    Found it now, but still think the other was weird. But below code works. Thanks my self haha

    Please Login or Register  to view this content.

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Range in code gives special problem

    Hi, abjac,

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  5. #5
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Range in code gives special problem

    Gracias Holger. Its another version, But its working good too, maybe even better setup i think.

    SoThanks allot.
    Abjac

  6. #6
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Range in code gives special problem

    Hi Sabarro79. I think our messages crossed each other. I just tested you code and as it dont do anything.But it seems that i managed to solve it my self also. So its ok for now. Thanks for lloking into it and have a nice day.

    Abjac

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1