Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem Recording Macros in Excel

When I record macros in excel the macro is being recorded
in visual basic language that is different from what I am
used to seeing. The macro will become messed up if I add
or change rows in the excel spreadsheet - since the macro
will not update the cells it references since visual
basic does not HARD CODE the cell - it uses a relative
navigation system to locate cells or worksheets. This
never happened when I used Excel before in a previous
Company, but I don't know what version it was. Right now
I am using Excel 2002 SP2.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Problem Recording Macros in Excel

You mean it is recording in R1C1 format?

I believe that is how it does it in Excel 2002.

--
Regards,
Tom Ogilvy


"DMOB" wrote in message
...
When I record macros in excel the macro is being recorded
in visual basic language that is different from what I am
used to seeing. The macro will become messed up if I add
or change rows in the excel spreadsheet - since the macro
will not update the cells it references since visual
basic does not HARD CODE the cell - it uses a relative
navigation system to locate cells or worksheets. This
never happened when I used Excel before in a previous
Company, but I don't know what version it was. Right now
I am using Excel 2002 SP2.



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Problem Recording Macros in Excel

hi,
A recorded macro is at best a good starting point for the
real macro. once recorded, you have to go into it, edit it
to make it genearic so that it will handle different data
sizes.
if you are not familar with vb, you might post your
recorded macro, explain what you are trying to do and
someone will help you edit it to your needs.
if you wish to look up a little on vb try
http://www.exceltip.com/excel_links.html
http://www.exceltip.com/tutorial/garrison/
http://www.j-walk.com/ss/books/xlbook25.htm
www.mrexcel.com
http://www.cpearson.com/excel/events.htm

-----Original Message-----
When I record macros in excel the macro is being recorded
in visual basic language that is different from what I am
used to seeing. The macro will become messed up if I add
or change rows in the excel spreadsheet - since the macro
will not update the cells it references since visual
basic does not HARD CODE the cell - it uses a relative
navigation system to locate cells or worksheets. This
never happened when I used Excel before in a previous
Company, but I don't know what version it was. Right now
I am using Excel 2002 SP2.
.

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
Recording macros Dricon1 Excel Discussion (Misc queries) 1 February 14th 07 03:42 PM
Training: More on how to use macros in Excel: Recording Macros ToriT Excel Worksheet Functions 2 February 10th 06 07:05 PM
How do I make the Stop Recording bar pop up when recording macros J Excel Worksheet Functions 1 January 10th 06 08:46 PM
Macros not recording tCannon Excel Discussion (Misc queries) 3 May 16th 05 08:51 PM
Excel macro recording problem dg33 Excel Programming 1 August 18th 04 05:01 PM


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