+ Reply to Thread
Results 1 to 4 of 4

RefEdit remove anchor

  1. #1
    Registered User
    Join Date
    02-24-2004
    Posts
    15

    RefEdit remove anchor

    Hello all,

    I'm creating a userform that will reference specific cells using the RefEdit control. Is there a way to remove the anchor from the reference within the userform? For example, the RefEdit control box will give me "Sheet1!$A$1", but I want it to show "Sheet1!A1" instead.

    Thanks.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    How about something like

    Please Login or Register  to view this content.
    Once you move away from the control, it will update the value.

    If you just want to use the value, you could leave the refedit as it stands, and remove the $ before using the result.


    rylo

  3. #3
    Registered User
    Join Date
    02-24-2004
    Posts
    15
    Awesome! That works.

    Thanks!

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Curare,

    This method will work for single cells and multiple cells, even if they aren't contiguous.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

+ 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