+ Reply to Thread
Results 1 to 4 of 4

how to create a border in vb to reflect on the excel sheet

  1. #1
    Registered User
    Join Date
    09-18-2007
    Posts
    20

    how to create a border in vb to reflect on the excel sheet

    Hi,
    I have an html page taht has vbscrip code aand an active x object .I slice the contents of the active x object on to an excel sheet using the create object method.

    How do i create a border around rane(a2:a10) in vbscript so that it is reflected on the excel sheet when it is opend.
    Thank you
    Last edited by VBA Noob; 09-18-2007 at 10:32 AM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi ckb,

    This code should work for you. Place it in the ThisWorkbook vba section:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    or maybe

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Forum Contributor SOS's Avatar
    Join Date
    01-26-2004
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    327
    ckb,

    If you want a border around each cell in the range

    Please Login or Register  to view this content.
    Hope this helps

    Seamus

+ 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