+ Reply to Thread
Results 1 to 6 of 6

Export Pdf Border Problem

  1. #1
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Export Pdf Border Problem

    Hello Friends,

    I am making Pdf from Excel.
    my excel sheet has data with border, when i export that sheet in pdf then last line of data will not appearing the bottom border of every Page.

    i also attached the sample file of pdf

    Please suggest me
    Attached Files Attached Files
    Last edited by mohan.r1980; 03-16-2013 at 01:24 AM.

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Export Pdf Border Problem

    You could try to add a dummy blank line below the table and include that dummy line in your output/print selection/area
    If you like my contribution click the star icon!

  3. #3
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: Export Pdf Border Problem

    thanks OllieB for reply

    the above attached sample file, i have write each and every line in Macro and also Select each row for Border.
    After finishing writing then i have to export that sheet in Pdf.

    Please suggest me

  4. #4
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: Export Pdf Border Problem

    thanks OllieB for reply

    the above attached sample file, i have write each and every line in Macro and also Select each row for Border.
    After finishing writing then i have to export that sheet in Pdf.

    Please suggest me

  5. #5
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: Export Pdf Border Problem

    Hello Friends,

    How do i know the position of cell when Page Break occur. (That Grid lines)

    if there is 5 pages then i just want to know the last cell position of each fist 4 page break.

    Please find the attached file.

    In attached file my page break is Sr.No.= 39 & 89
    First page = Header + 39 Records
    Second Page = 40 To 89 records
    Third Page = 90th record

    so how can i know the position of 39th and 89th records in loop

    please suggest me
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: Export Pdf Border Problem

    I got the solution from Google.

    Sub CheckForPageBreaks()
    Dim i As Integer

    For i = 1 to ActiveSheet.UsedRange.Rows.Count
    If Rows(i).PageBreak = xlAutomatic Then
    My Code
    End If
    Next
    End Sub

+ 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