+ Reply to Thread
Results 1 to 7 of 7

issue with vba code paging numbers

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    issue with vba code paging numbers

    I have a workbook with sheet final , I have some issue with code as below in column A,

    The code is suppose to look in column A , insert a test sheet, split headers to the Page ,item no, hs code.

    But the code fail when the page numbers are two , three digits that is when page no is 10 it shows 0 , when page number 11, shows 1.

    Can anyone assist where the code is failing

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: issue with vba code paging numbers

    Which sheet is the code meant to work on?
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: issue with vba code paging numbers

    The sheet is Final column A .

    Need to delete the file test.

    When the code runs it will create the sheet test splitting headers in three columns, the issue is with first column A in test sheet , I have highlight in yellow where the code fails.
    Attached Images Attached Images
    Last edited by JEAN1972; 01-21-2018 at 12:15 PM. Reason: insert explicit explanation

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: issue with vba code paging numbers

    So which sheet should be active when the code runs?

  5. #5
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: issue with vba code paging numbers

    Your problem is in this line
    Please Login or Register  to view this content.
    perhaps

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  6. #6
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: issue with vba code paging numbers

    Try this
    replace
    Please Login or Register  to view this content.
    with
    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  7. #7
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: issue with vba code paging numbers

    Thank you working now

+ 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. Replies: 2
    Last Post: 01-07-2016, 12:25 PM
  2. Continuous Paging in Excel worksheets problem!
    By Punfs in forum Excel General
    Replies: 1
    Last Post: 11-27-2014, 03:39 AM
  3. Issue Having Formula Recognizing Numbers Saved As Text As Numbers
    By livifivil in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-08-2013, 01:34 PM
  4. Paging daddylongleggs - lookup question part 2
    By no dice in forum Excel General
    Replies: 3
    Last Post: 08-20-2007, 07:41 PM
  5. [SOLVED] Why does paging down skip ten rows?
    By RADEANO in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-01-2006, 07:45 AM
  6. Paging down to last entry
    By Richard in forum Excel General
    Replies: 4
    Last Post: 04-29-2006, 07:45 PM
  7. Replies: 0
    Last Post: 06-17-2005, 12:05 PM

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