LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with simple(?) macro

Hello everyone. I only discovered this forum a month ago and regret no
knowing of it sooner. What a fantastic resource it is and how I coul
have used it before I retired.

I've always been able to get the results I want by recording a macr
but this time it doesn't work the way I want it to. Here is what
want to achieve.

Start on Sheet 5 (or any Sheet from 2 to 10) and make a cell active b
clicking on it.

Now I want to click on a button to start a macro to do the following:
Go to a named range ("Field") on Sheet 1 and copy it (This par
recorded properly), now return to the original Sheet 5 (my macro di
this but because I want to put buttons for the same macro on othe
sheets I don't want it to specify Sheet 5). Once on Sheet 5 I want i
to paste the values only in the original active cell but again I don'
want to specify the cell by name because it will be different the nex
time I run the same macro. Next I want to move 3 cells to left o
active cell (without specifying cell address) and insert today's date.
Next I want to move 1 row up and 12 columns over, select 20 adjacen
cells (which contain formulae) and copy them to the row below them.
Finally I want to end up at the cell directly below the original activ
cell.

The basic problem I'm having is the moving to the various cells on th
Sheet without specifying their addresses because I need the macro t
drop down a row each time it is run.

Thanks for taking the time to read this and for any thoughts you ma
have on it

--
Message posted from http://www.ExcelForum.com

 
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
help with a simple macro Roger Dodger Excel Discussion (Misc queries) 2 August 26th 11 04:26 AM
Simple Macro MAStew New Users to Excel 3 July 27th 06 10:50 PM
Need Simple Macro jreinert New Users to Excel 2 June 15th 06 03:58 PM
a simple macro? asalerno Excel Discussion (Misc queries) 2 April 28th 06 12:45 AM
Simple help with macro please Brian Tozer Excel Programming 4 December 26th 03 06:45 PM


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