Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pausing Macros

Status
Not open for further replies.

hopp

Programmer
May 22, 2006
7
US
I'm trying to write a macro in which it copy and pastes cells from 1 sheet to another. However, as i have it now, i can only select 1 column at a time because im trying to make the macro's usable for any area in the sheet. Is there any way to specify a start point then have the macro increment to where you want? Or is there a way to pause the macro so you can specify different cells?

*sighs* i wish they just gave me c++ to work with.

thanks.
 
You may use the SELECTION object to reference a set of cells you have selected

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
In reference to your sigh, I believe OpenOffice gives you the ability to write macros in C++. I could be wrong, I know it allows Python and Java.

Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top