Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Simple Macro

Hi all,

I have a basic script that loops through a range of data to copy and
paste into the front end of some calcs, then goes and copies the
results to a compilation sheet.

I have the navigation sorted, just using offset to get to the column
of data I want.

I can get the cursor where I want it, but I can't nut out how to
select a range of 8 cells under where the cursor ends up, copy and
paste into inputs.

Please help!
Cheers,
John.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default Simple Macro

On Dec 18, 8:37*pm, "Nhoj.Nanyt" wrote:
Hi all,

I have a basic script that loops through a range of data to copy and
paste into the front end of some calcs, then goes and copies the
results to a compilation sheet.

I have the navigation sorted, just using offset to get to the column
of data I want.

I can get the cursor where I want it, but I can't nut out how to
select a range of 8 cells under where the cursor ends up, copy and
paste into inputs.

Please help!
Cheers,
John.


As ALWAYS, post your code for comments
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Simple Macro

Hi John,

Its rarely necessary to select the data you're manipulating but maybe
this will get you moving in the right direction...

Activecell.Resize(8,1).Select

or better still, something along these lines after declaring and
setting rngDestination...

Activecell.Resize(8,1).copy rngDestination

Br, Nick.
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
Simple Macro help? The Message Excel Discussion (Misc queries) 2 December 14th 09 05:14 PM
Does anyone have a simple macro for this? CarolineHedges[_16_] Excel Programming 3 July 31st 06 04:03 PM
Need Help With A Very Simple Macro Amca Excel Discussion (Misc queries) 3 May 7th 05 12:10 AM
Simple Macro - I Think? vinclanz[_2_] Excel Programming 1 September 27th 04 01:21 AM
Simple Macro - I Think? vinclanz Excel Programming 1 September 22nd 04 01:32 AM


All times are GMT +1. The time now is 06:17 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"