Results 1 to 6 of 6

Copy&paste Print loop help please

Threaded View

avit Copy&paste Print loop help... 08-17-2011, 04:05 AM
TMS Re: Copy&paste Print loop... 08-17-2011, 04:14 AM
avit Re: Copy&paste Print loop... 08-17-2011, 06:54 AM
TMS Re: Copy&paste Print loop... 08-17-2011, 07:35 AM
avit Re: Copy&paste Print loop... 08-17-2011, 08:34 AM
TMS Re: Copy&paste Print loop... 08-17-2011, 09:09 AM
  1. #1
    Registered User
    Join Date
    11-10-2005
    Posts
    5

    Copy&paste Print loop help please

    Hi,

    I'm not very experienced in writing VBA at all and so find myself stuggling with what seems to be a simple task.

    I have a template which basically has a vlookup to a list (grni sheet). What im trying to do is to get excel to print the template and then copy and paste the next cell down from the list "grni sheet" and print again until it reaches the bottom of the list

    All I have so far is:

    ExecuteExcel4Macro "PRINT(1,,,1,,,,,,,,2,,,TRUE,,FALSE)"
    Sheets("grni").Select
    ActiveCell.Offset(1, 0).Range("A1").Select 'i need this to work it's way down the list to the end'
    Selection.Copy
    Sheets("Manual Adjustment Form").Select
    ActiveCell.Offset(-4, 0).Range("A1").Select
    ActiveSheet.Paste
    ActiveCell.Offset(4, 1).Range("A1").Select
    Application.CutCopyMode = False
    ExecuteExcel4Macro "PRINT(1,,,1,,,,,,,,2,,,TRUE,,FALSE)"
    If i can get this to work it is going to save so much time so any help or suggestions would be appreciated.

    Thanks
    Attached Files Attached Files
    Last edited by avit; 08-17-2011 at 04:30 AM.

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