Results 1 to 9 of 9

Thread: complete page numbers

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    10,457
    Rep Power
    10

    fill out shortened numbers, complete page numbers elided to non elided numbers

    Hello Moshe,
    You are welcome, and thanks for the update.
    jindon is a VBA genius! or maybe he has good library of many codes and for this reason is very fast. I have experienced this many times at excelforum!
    I started my solution, so out of interest I finished it.
    But almost certainly the code form jindon is the one to use.

    Here is my solution, - Here is my code for you:
    http://www.excelfox.com/forum/showth...0496#post10496




    The code will take something like this:_....
    Row\Col
    A
    B
    1
    34-5
    2
    3, 6-8, 24-56, 78, 123-45, 254-65
    3
    55-6, 122-6, 156-68
    4
    45, 255-8, 212-24
    5


    _.... and give you something like this:
    Row\Col
    A
    B
    1
    34-5 34-35
    2
    3, 6-8, 24-56, 78, 123-45, 254-65 3, 6-8, 24-56, 78, 123-145, 254-265
    3
    55-6, 122-6, 156-68 55-56, 122-126, 156-168
    4
    45, 255-8, 212-24 45, 255-258, 212-224
    5



    _.__________________________

    ( Now I will study the solution form jindon and see if I can understand it ! )

    Alan
    Last edited by DocAElstein; 02-16-2018 at 02:03 PM.
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    KILL A MODERATOR!!

  2. #2
    Junior Member
    Join Date
    Feb 2018
    Posts
    5
    Rep Power
    0
    Great, thanks so much! the update fell into spam which is why I didn't respond earlier. both yours and Jindon's work.
    Moshe

Similar Threads

  1. Hide ProgressBar After Process Loop Is Complete
    By k0st4din in forum Excel Help
    Replies: 4
    Last Post: 04-24-2014, 12:29 AM
  2. VBA Macro To Print With Custom From And To Page Numbers
    By muhammad susanto in forum Excel Help
    Replies: 1
    Last Post: 12-23-2013, 03:11 PM
  3. Replies: 2
    Last Post: 07-18-2013, 03:34 AM
  4. Auto Complete for Data Validation
    By IJC in forum Excel Help
    Replies: 1
    Last Post: 05-15-2013, 09:30 AM
  5. Replies: 0
    Last Post: 03-06-2012, 03:55 AM

Posting Permissions

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