#1   Report Post  
Posted to microsoft.public.excel.programming
Zak Zak is offline
external usenet poster
 
Posts: 144
Default Macros

I am trying to record a few macros but i am finding that because the data has
variables in it i.e. things that change (column/row number, sheet no etc) the
macro stops working. it is unable to apply itself to a number of different
situations and adjust accordingly, for example, where the column number
changes or the number of rows etc. How can i code the macro to allow for many
different variables?

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Macros

hi.
the macro recorder records all of your actions on the mouse and keyboard
then when you run the macro, it duplicates all of your previous actions. as
you have learned. making a recorded macro generic can vary depending on what
actions you want performed. there is no "one size fits all" solution.
post one of your macros so that we can have a better idea on what your are
trying to accomplish.

Regards
FSt1

"Zak" wrote:

I am trying to record a few macros but i am finding that because the data has
variables in it i.e. things that change (column/row number, sheet no etc) the
macro stops working. it is unable to apply itself to a number of different
situations and adjust accordingly, for example, where the column number
changes or the number of rows etc. How can i code the macro to allow for many
different variables?

thanks.

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
Macros in Personal.xls that would create two toolbars and buttonswith assigned macros Brian Day Excel Programming 1 March 29th 07 11:20 PM
choose default macros Not Enabled / Macros Enable Setting BEEJAY Excel Programming 2 June 30th 06 01:07 PM
weird saving of a document with macros resulting with macros being transfered to the copy alfonso gonzales Excel Programming 0 December 12th 04 09:19 PM
convert lotus 123w macros to excel macros rpiescik Excel Programming 1 September 18th 04 01:35 PM
Macro Size Limit / open macros with macros? andycharger[_7_] Excel Programming 6 February 13th 04 02:00 PM


All times are GMT +1. The time now is 10:24 PM.

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"