+ Reply to Thread
Results 1 to 2 of 2

Moving invoice details from active worksheet to another sheet and back to the active one.

  1. #1
    Registered User
    Join Date
    07-07-2014
    Location
    High Wycombe, England
    MS-Off Ver
    Office 2010
    Posts
    1

    Moving invoice details from active worksheet to another sheet and back to the active one.

    Hi all
    I'm hoping someone can assist me.
    I'm not too good with excel, but i need to move data from the active sheet ('Invoice') to another sheet ('Existing customers').
    The data that needs to be stored is Name, Address 1-3, postcode and the customer ID should increment.

    I'm brand new on this forum and would really appreciate anyone being able to help me.
    Thank you for taking the time to read my post.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Moving invoice details from active worksheet to another sheet and back to the active o

    Hi,

    The way I always approach tasks like this is to use a helper row (hidden if required) that contains the data fields that you want, in the same order as that required on the destination sheet. The formulae in the helper row simply link directly to the relevant Invoice cell.

    So for example in your case assuming you've added a new row 1, then A1 would be =C10, C1 would be =C14, (C14 now being the Name).
    B1 would be the first ID number.

    Give a range name to A1:G1, say "NewRecord"

    Now your macro would be
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Selecting an active worksheet AND an active table that keep changing names!
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2014, 10:22 PM
  2. [SOLVED] Active sheet shifts back to original sheet when executing code
    By pcdog in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 10-22-2012, 11:07 AM
  3. [SOLVED] Go back to previous active sheet (Excel 2007)
    By JawD in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-09-2012, 08:00 AM
  4. Active cell moving but sheet is not scrolling
    By AmStaffMom in forum Excel General
    Replies: 3
    Last Post: 05-30-2012, 02:08 PM
  5. Macro to edit active chart on active worksheet
    By shlurpee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2011, 04:58 AM

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