+ Reply to Thread
Results 1 to 3 of 3

don't replace VBA code

  1. #1
    Registered User
    Join Date
    05-13-2008
    Posts
    1

    don't replace VBA code

    Hi, i have the following code:

    Please Login or Register  to view this content.
    This code moves some information from sheet2 to sheet3. And then makes a break, so other members also can create their own member.

    But my problem is, when one member registrates. The other gets HIS information in their fields. How do i avoid this?

    I think this is because of the formula i'm using on sheet2, that i later on move
    that formula to sheet3. Because then it's the same and everyone gets that info.

    This is one of the formula that is moved: =Sheet2!G18

    So how do i avoid this, and is there a smart method to avoid that other members ar affected by anothers information and that they do not have to get his/her info in their fields.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Your code needs some serious tidying up. Try amending your code like this for a more efficient way

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    I agree with Roy 100%

    The macro recorder is a great tool if you need to remember how to do something you have forgotten (ie, how to color a cell, how to delete a row). It is VERY inefficient for creating a functional VBA driven spreadsheet. I suggest looking into some VBA tutorials and chopping that down a bit, then asking more specific questions.

    Another option is to post a .zip copy of the workbook you are working with. Provide some specific instructions and someone will likely be able to piece together some code for you.

+ 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