+ Reply to Thread
Results 1 to 3 of 3

One copy command for mulitple cells

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    Reading, England
    MS-Off Ver
    Excel 2010
    Posts
    51

    One copy command for mulitple cells

    Hi all,

    I have a speadsheet that updates various tables and graphs based on values in certain fields or selection of check boxes. The fields are user entered in a form attached with a macro.

    Problem I have is that the Calculting time is quite long and by having what I've done below means it executes the calculations twice. Can I turn the below in to once Copy string?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: One copy command for mulitple cells

    Nope. You can't.

    Have you tried setting Application.Calculation to xlCalculationManual at start of your code/process and then turning it back to xlCalculationAutomatic at end of your code/process?

    To speed up code in general read link below.
    http://www.cpearson.com/excel/optimize.htm
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    02-21-2013
    Location
    Reading, England
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: One copy command for mulitple cells

    I suspected that was the case, as I'd tried so many varients.

    I'l try the xlCalculation and do a bit of home work reading.

    Thanks!

+ 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] Command button to copy and paste rows to specific cells in another sheet
    By majana54 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-05-2017, 02:17 AM
  2. command button to copy cells from one worksheet and insert to another
    By recain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2013, 11:26 PM
  3. Copy non-contiguous cells with Cells command
    By 31RHCP in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-21-2013, 07:33 PM
  4. [SOLVED] macro for command button to copy cell content to other cells
    By Emma_B in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 06:32 AM
  5. VBA command to copy the cells, when they are autofilter
    By mohan_rajun in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-08-2010, 06:45 AM
  6. copy yellow cells on sheet 'quote to sheet1 via a command button
    By lokechoiwun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2006, 08:32 AM
  7. Using Command Button to copy cells
    By Pennington in forum Excel General
    Replies: 1
    Last Post: 04-28-2005, 10:07 PM

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