+ Reply to Thread
Results 1 to 6 of 6

Can you help me to shorten this code? Thanks a lot

  1. #1
    Registered User
    Join Date
    10-16-2021
    Location
    egypt
    MS-Off Ver
    2016
    Posts
    75

    Can you help me to shorten this code? Thanks a lot

    Please Login or Register  to view this content.

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Can you help me to shorten this code? Thanks a lot

    Something like this although I can't test it without having a copy of your userform:

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Registered User
    Join Date
    10-16-2021
    Location
    egypt
    MS-Off Ver
    2016
    Posts
    75

    Re: Can you help me to shorten this code? Thanks a lot

    thank you for your interesting
    i tried it but some of this code not appear any thing
    Please Login or Register  to view this content.

  4. #4
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Can you help me to shorten this code? Thanks a lot

    I can't help any further without an attachment to work with - it's impossible to guess what your data looks like.

    WBD

  5. #5
    Registered User
    Join Date
    10-16-2021
    Location
    egypt
    MS-Off Ver
    2016
    Posts
    75

    Re: Can you help me to shorten this code? Thanks a lot

    Thank you , i will try to solve it

  6. #6
    Registered User
    Join Date
    10-16-2021
    Location
    egypt
    MS-Off Ver
    2016
    Posts
    75

    Re: Can you help me to shorten this code? Thanks a lot

    Thank you, WBD, for this code. As for the part that does not work, when you change the name of the variable in it from O to Y, it works perfectly
    Please Login or Register  to view this content.
    Thank you very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help to shorten code!
    By Dremzy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2017, 12:55 PM
  2. [SOLVED] Represent (define?) a section of code with a variable (shorten long code lines)?
    By Gene@action in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2016, 03:59 PM
  3. Help to Shorten Code
    By guitarsweety in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-22-2014, 06:33 PM
  4. Hi all, can you please help me to shorten this code as much as possible
    By boddulus in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-31-2014, 07:31 AM
  5. [SOLVED] Very inefficient code because of different sizes of arrays, how do i shorten my code?
    By Brammer88 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-28-2012, 04:49 PM
  6. [SOLVED] Shorten VBA Code......!!!!
    By sagar007 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-26-2012, 08:27 AM

Tags for this Thread

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