+ Reply to Thread
Results 1 to 4 of 4

VBA Problem - Pasting and Offsets - Layout Trouble.

  1. #1
    Registered User
    Join Date
    01-31-2007
    Posts
    3

    VBA Problem - Pasting and Offsets - Layout Trouble.

    Please Login or Register  to view this content.
    is my macro....

    This is the result.

    \1

    what i want to do is described in the picture, even my ict teacher cant get it to work ¬_¬ i was ment to start testing on monday, and i cant get this bit finished.

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Remove the red font in the below code:
    Please Login or Register  to view this content.
    Then it looks like you are also trying to paste it starting in column A. To change this, try changing:
    Please Login or Register  to view this content.
    to this:
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    The problem is because your activecell is in column A and you are not offsetting when pasting

    I have modified the code to merge some commands and to remove some commands that were not required

    In the code when pasting I was not sure if it needed to offset by 1 row & 1 column or just 1 column - I offset the row & column

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    01-31-2007
    Posts
    3
    Thanks a ton! youve saved my *** with this project :D

+ 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