+ Reply to Thread
Results 1 to 6 of 6

copy and paste value using macro

  1. #1
    Registered User
    Join Date
    01-14-2008
    Posts
    76

    Amending Recorded code

    i have created a recorded macro that bassically when clicked adds one to the cell eg if value is 10 and the button was clicked then it would turn to 11

    the problem is that i want it to go down each time it is clicked therfore
    when you click it would first go to A49 and then the second time it should go down to A50 therfore each time it is click the cells goes up by 1 eg A49=1 A50=2 etc
    the code is below:

    Please Login or Register  to view this content.
    thanks in advance

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Try this

    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
    Registered User
    Join Date
    01-14-2008
    Posts
    76
    it dont work bruv

    it seds type mismatch

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by shilpz
    it dont work bruv

    it seds type mismatch
    Please Login or Register  to view this content.
    It should work if you have entered the code correctly & your data is numerical.

  5. #5
    Registered User
    Join Date
    01-14-2008
    Posts
    76
    sorry ma bad
    i thought i did say thanks

    dont worry i have been taught to say thanks

    i thought i did

    sorry bruv

  6. #6
    Registered User
    Join Date
    01-14-2008
    Posts
    76

    copy and paste value using macro

    hello

    i need a forumula so dat entry in Cell F15 from sheet"clock" is copied and pasted in sheet "Clocking Calculation" cell "D6" but goes down each time the button is click

    i have attached a sheet expalining what i mean


    thanks in advance
    Attached Files Attached Files

+ 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