Results 1 to 7 of 7

Userforms and cell updates in Excel 2010

Threaded View

  1. #1
    Registered User
    Join Date
    01-29-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Post Userforms and cell updates in Excel 2010

    I have the following code and keep getting "run-time error '9'. what am i doing wrong?
    Private Sub Userform_Activate() Dim sb As Range Dim m As Range Set sb = Worksheets("Sheet1").Range("C31") Set m = Worksheets("Sheet1").Range("C30") txtSnowball.Text = sb.Value txtMonthly.Text = m.Value End Sub Private Sub txtSnowball_Exit(ByVal Cancel As MSForms.ReturnBoolean) sb.Value = txtSnowball.Text End Sub Private Sub txtMonthly_Exit(ByVal Cancel As MSForms.ReturnBoolean) m.Value = txtMonthly.Text End Sub
    Last edited by vlady; 07-02-2014 at 07:48 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Data updates in Sheet2 when there are updates in sheet1
    By pal004 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2014, 10:20 AM
  2. How to paste special in Outlook 2010 from a copied cell in Excel 2010
    By Baldowsky in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 05-30-2014, 11:40 AM
  3. Replies: 0
    Last Post: 05-14-2013, 02:00 PM
  4. Replies: 0
    Last Post: 07-29-2011, 07:19 AM
  5. Replies: 3
    Last Post: 03-04-2011, 06:01 AM

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