+ Reply to Thread
Results 1 to 4 of 4

Improving this macro?

  1. #1
    Forum Contributor terrypin's Avatar
    Join Date
    01-06-2010
    Location
    East Grinstead, UK
    MS-Off Ver
    MS Office 365
    Posts
    533

    Improving this macro?

    Novice VBA user here.

    I recorded a macro to copy a specific cell from a worksheet to a cell on another worksheet in another workbook, as values only. I edited it so that it works for any source worksheet. It does seem to work OK but I'd appreciate suggested improvements please. I also want to extend it to copy B28 and B29 to AP2 and APQ respectively and I'm sure there's a neater way of doing it than repeating my code for the other two copy operations.

    Please Login or Register  to view this content.
    CopyFormulaAsText-1.jpg



    Terry, East Grinstead, UK
    Terry, East Grinstead, UK
    Excel 365, Win 10 Pro, i7 PC, 4.0 GHz

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Improving this macro?

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor terrypin's Avatar
    Join Date
    01-06-2010
    Location
    East Grinstead, UK
    MS-Off Ver
    MS Office 365
    Posts
    533

    Re: Improving this macro?

    Excellent, thanks Fluff13, works a treat!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Improving this macro?

    Glad to help & thanks for the feedback

+ 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] Improving existing macro to flip data
    By axtryo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-20-2017, 03:05 AM
  2. Urgent Help with Improving a Balancing Macro
    By Simon Gleeb in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-22-2017, 11:11 PM
  3. [SOLVED] Improving a macro, so that it either hides, or unhides all the columns
    By davidx in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-11-2015, 05:00 AM
  4. [SOLVED] Inefficient 'select sheets' macro - needs improving pls!
    By TheRobsterUK in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-13-2013, 06:46 AM
  5. [SOLVED] improving functionality of lengthy macro
    By Zealotwraith in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-26-2013, 11:43 AM
  6. Replies: 0
    Last Post: 05-25-2011, 09:28 AM
  7. Improving my format-macro
    By Jaymond Flurrie in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-02-2006, 08:40 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