+ Reply to Thread
Results 1 to 11 of 11

“ADD” macro

  1. #1
    Forum Contributor
    Join Date
    07-28-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    298

    Question “ADD” macro

    Hi Guys,

    Once again need your expertise and would appreciate any help.

    The goal here is also very simple: copying some cells (as per below) in Tab 1 and pasting them in "New POs" tab in the first available row.

    I have attached an example spreadsheet and I steps would be:

    1) In Tab 1, copy cells B6, B7, C21, D21 and E21 (in this order)
    2) In New POs, past them in the first available row.

    Thanks guys,

    Rick
    Attached Files Attached Files
    Last edited by ricdamiani; 07-17-2016 at 03:52 AM.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: “ADD” macro

    Quote Originally Posted by ricdamiani View Post
    Hi Guys,

    Once again need your expertise and would appreciate any help.

    The goal here is also very simple: copying some cells (as per below) in Tab 1 and pasting them in "New POs" tab in the first available row.

    I have attached an example spreadsheet and I steps would be:

    1) In Tab 1, copy cells B6, B7, C21, D21 and E21 (in this order)
    2) In New POs, past them in the first available row.

    Thanks guys,

    Rick
    12?
    Please Login or Register  to view this content.
    Last edited by jindon; 07-16-2016 at 01:40 AM. Reason: Fixed a typo

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: “ADD” macro

    "In New POs, past them in the first available row."
    Is only the value needed or do you want to copy the format to ??
    - Battle without fear gives no glory - Just try

  4. #4
    Forum Contributor
    Join Date
    07-28-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    298

    Re: “ADD” macro

    Quote Originally Posted by jindon View Post
    12?
    Please Login or Register  to view this content.
    Hi jindon,

    Yes, 12 is correct.

    Thanks for the suggestion but I removed the Msg box asking if "I really want to add", I think will be quicker without it.

    But was thinking if the following could be changed:
    - a confirmation message box after added saying "ADDED"
    - also after added, values in cells C21, D21 and E21 are deleted

    Any chance on getting this changed?

    Thanks,

    Rick
    Last edited by ricdamiani; 07-17-2016 at 02:54 AM.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: “ADD” macro

    Is this the one?
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-28-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    298

    Re: “ADD” macro

    Great, thanks jindon.

    Regards,

    Rick

  7. #7
    Forum Contributor
    Join Date
    07-28-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    298

    Re: “ADD” macro

    Hi All,

    Can someone please advise how can paste values only in the macro above?

    Thanks

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: “ADD” macro

    It is.....................

  9. #9
    Forum Contributor
    Join Date
    07-28-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    298

    Re: “ADD” macro

    Reviving this thread over a year later for a small modification.

    My current macro is:
    Please Login or Register  to view this content.
    This macro is pasting all in a sequence in the first available line in the "new pos" tab, but I would like instead of pasting all in sequence in the first line, I would like to paste in the first available line in sequence only cells C6, C7, C21, D21 and E21 as it is, but cells R20 and M69 I would like to be pasted in the same line but in columns T and U.

    Can someone help me this modification?

    Thanks guys.

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: “ADD” macro

    Please Login or Register  to view this content.

  11. #11
    Forum Contributor
    Join Date
    07-28-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    298

    Re: “ADD” macro

    Thank you jindon

+ 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. [SOLVED] Define variable in macro than calling that macro inside another macro
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2015, 10:58 AM
  2. Using a macro on workbook1 to create a button in wb2 and assigning macro "wb2!macro"
    By penfold1992 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2014, 11:39 AM
  3. [SOLVED] Macro to show Which macro didnt work in a nested macro
    By akhileshgs in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-10-2013, 03:21 AM
  4. Perform macro "on open" specific file- store macro in Personal Macro Workbook?
    By thompssc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-17-2012, 12:38 PM
  5. lookup macro, solver macro, realtime macro
    By xelhelp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-02-2011, 06:14 PM
  6. Cannot find macro error when running a macro from a macro in a diffrent workbook.
    By Acrobatic82 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2010, 09:22 AM
  7. [SOLVED] Macro calling another Macro: "The macro 'Personal.xls!FindChar"
    By William Benson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-07-2005, 09:05 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