+ Reply to Thread
Results 1 to 4 of 4

is there a better alternative to Copy/Paste?

  1. #1
    MichaelC
    Guest

    is there a better alternative to Copy/Paste?

    I have a macro which iteratively changes input cells to a formula, and then
    Copys and Pastes the input cell value and associated formula result cell
    value to a list. I use a For Cnt Next Cnt loop to accomplish this. The list
    is then used as source data for a graph.
    As a novice VBA user, my question is whether there is a more efficient way
    to transfer the cell values to the list than copying and pasting?
    Any advice (with e.g. code) greatly appreciated.

  2. #2
    Don Guillett
    Guest

    Re: is there a better alternative to Copy/Paste?


    try
    range("a2:a55").value=range("b2:b55").value

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "MichaelC" <MichaelC@discussions.com> wrote in message
    news:D76ED325-3D36-4E62-A6A1-8A112E22B79F@microsoft.com...
    > I have a macro which iteratively changes input cells to a formula, and

    then
    > Copys and Pastes the input cell value and associated formula result cell
    > value to a list. I use a For Cnt Next Cnt loop to accomplish this. The

    list
    > is then used as source data for a graph.
    > As a novice VBA user, my question is whether there is a more efficient way
    > to transfer the cell values to the list than copying and pasting?
    > Any advice (with e.g. code) greatly appreciated.




  3. #3
    MichaelC
    Guest

    Re: is there a better alternative to Copy/Paste?

    Thank you, Don, that is most helpful.

    "Don Guillett" wrote:

    >
    > try
    > range("a2:a55").value=range("b2:b55").value
    >
    > --
    > Don Guillett
    > SalesAid Software
    > donaldb@281.com
    > "MichaelC" <MichaelC@discussions.com> wrote in message
    > news:D76ED325-3D36-4E62-A6A1-8A112E22B79F@microsoft.com...
    > > I have a macro which iteratively changes input cells to a formula, and

    > then
    > > Copys and Pastes the input cell value and associated formula result cell
    > > value to a list. I use a For Cnt Next Cnt loop to accomplish this. The

    > list
    > > is then used as source data for a graph.
    > > As a novice VBA user, my question is whether there is a more efficient way
    > > to transfer the cell values to the list than copying and pasting?
    > > Any advice (with e.g. code) greatly appreciated.

    >
    >
    >


  4. #4
    Don Guillett
    Guest

    Re: is there a better alternative to Copy/Paste?

    glad to help

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "MichaelC" <MichaelC@discussions.com> wrote in message
    news:046EA72E-7A8E-424D-8ED7-4D08B5275DBD@microsoft.com...
    > Thank you, Don, that is most helpful.
    >
    > "Don Guillett" wrote:
    >
    > >
    > > try
    > > range("a2:a55").value=range("b2:b55").value
    > >
    > > --
    > > Don Guillett
    > > SalesAid Software
    > > donaldb@281.com
    > > "MichaelC" <MichaelC@discussions.com> wrote in message
    > > news:D76ED325-3D36-4E62-A6A1-8A112E22B79F@microsoft.com...
    > > > I have a macro which iteratively changes input cells to a formula, and

    > > then
    > > > Copys and Pastes the input cell value and associated formula result

    cell
    > > > value to a list. I use a For Cnt Next Cnt loop to accomplish this.

    The
    > > list
    > > > is then used as source data for a graph.
    > > > As a novice VBA user, my question is whether there is a more efficient

    way
    > > > to transfer the cell values to the list than copying and pasting?
    > > > Any advice (with e.g. code) greatly appreciated.

    > >
    > >
    > >




+ 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