Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro/VB issue with Microsoft Excel

So i need to run a little quick and easy macro in excel to help me with
this data i need to compile. Its somewhat hard to explain, but
basically i need to figure out how to tell the macro to literally just
hit the arrow right key, 4 times, instead of having it recognize
specific cells.

I have 30 workbooks with 30 sheets per workbook. Each sheet has the
same 4x10 rows/columns filled out with their own unique data. I need to
copy and paste these 4x10 blocks of data and paste them on a new sheet,
stacking them horizontally.

I can get the macro to copy and paste the first block of data, then
switch to next sheet, but i cant get the new sheet, where i just pasted
the data, to move over 4 columns to the right, to get ready for the next
run of the macro to past the 2nd sheet of data.

Does this make sense? If so, please offer any help you can.

Thanks,

-Adam



*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 360
Default Macro/VB issue with Microsoft Excel

See "Copy a range with one area after the last column" at
http://www.rondebruin.nl/copy1.htm

Lots of other very productive information there also.

Cliff Edwards


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Macro/VB issue with Microsoft Excel

This really isn't enough help for all you're trying to do, but try something
like this:

ActiveCell.Offset(,4).Select

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"ADam Bress" wrote in message
...
So i need to run a little quick and easy macro in excel to help me with
this data i need to compile. Its somewhat hard to explain, but
basically i need to figure out how to tell the macro to literally just
hit the arrow right key, 4 times, instead of having it recognize
specific cells.

I have 30 workbooks with 30 sheets per workbook. Each sheet has the
same 4x10 rows/columns filled out with their own unique data. I need to
copy and paste these 4x10 blocks of data and paste them on a new sheet,
stacking them horizontally.

I can get the macro to copy and paste the first block of data, then
switch to next sheet, but i cant get the new sheet, where i just pasted
the data, to move over 4 columns to the right, to get ready for the next
run of the macro to past the 2nd sheet of data.

Does this make sense? If so, please offer any help you can.

Thanks,

-Adam



*** Sent via Developersdex http://www.developersdex.com ***



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Issue with Microsoft Excel Adit Shah Excel Discussion (Misc queries) 1 January 14th 08 02:00 PM
Microsoft Query/ODBC issue Jombe Excel Discussion (Misc queries) 0 September 7th 07 09:08 PM
Microsoft query issue Dennis Warren Excel Programming 0 June 7th 05 10:29 PM
Microsoft Excel Macro Ed Nielsen Excel Programming 1 September 17th 04 06:19 AM
Excel Macro Issue Trying to autorun Macro Upon Opening Worksheet wyndman Excel Programming 2 May 25th 04 06:59 PM


All times are GMT +1. The time now is 10:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"