Results 1 to 6 of 6

Cannot get past Run-time 70, Permission Denied

Threaded View

  1. #1
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Cannot get past Run-time 70, Permission Denied

    Hi all,
    I just opened a file I was working on last night and when I stepped through the code, which is
    Private Sub ComboBox2_Change()
    Dim Rng1 As Range, Col As Long, cbAddItm As Long
        Col = Sheets("Qtly").Cells(5, Columns.Count).End(xlToLeft).Column
    Debug.Print Sheets("Qtly").Cells(5, 3).Address
    With ComboBox2
        For cbAddItm = 3 To Col
            .AddItem Sheets("Qtly").Cells(5, cbAddItm)
        Next cbAddItm
    End With
    End Sub
    I am now prompted with an error at the AddItem line telling me that my permission is denied, run-time 70. What's this about, any ideas?

    Regards:
    Last edited by Mordred; 07-09-2011 at 01:55 PM.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

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