+ Reply to Thread
Results 1 to 2 of 2

Using the Parent property of the Borders Object

  1. #1
    Forum Contributor
    Join Date
    12-15-2009
    Location
    Herndon, VA
    MS-Off Ver
    Excel 2010
    Posts
    163

    Using the Parent property of the Borders Object

    Why isn't this working?

    MsgBox Worksheets(1).Range("A12").Borders.Parent.Name


    Shouldn't the Message Box display A12 since the Range object is a parent to the borders object?

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Using the Parent property of the Borders Object

    A12 isn't a name its an address.

    Please Login or Register  to view this content.
    e/ although if you know the range I'm not sure where that gets you.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

+ 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. [SOLVED] the Parent property
    By mrmack in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2006, 12:00 AM
  2. [SOLVED] Snap Object to cell borders
    By Ed Schwartz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-10-2005, 11:05 PM
  3. Borders Object
    By DejaVu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2005, 05:24 PM
  4. Replies: 0
    Last Post: 04-28-2005, 07:06 PM
  5. Using The Value property of the ActiveCell object
    By Almamba in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-21-2005, 02:06 PM

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