Results 1 to 5 of 5

Code to select range and open a user form is opening the wrong range

Threaded View

  1. #1
    Registered User
    Join Date
    07-30-2010
    Location
    Oregon
    MS-Off Ver
    Excel 2007
    Posts
    44

    Code to select range and open a user form is opening the wrong range

    I don't see how this can be possible... so I must ask here. My code is

    Sub NewRev()
    
         Range("Table1[#All]").Select
         ActiveSelection.ShowDataForm
    
    End Sub

    Yet it doesn't open the form for this table... it opens the form for another RANGE that is higher on the sheet. I don't understand how this could be. When I record the macro for this, it always opens the correct form, and then when I run it always opens the wrong one.
    Last edited by rrbest; 11-06-2010 at 02:55 PM.

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