Excel 2011 for Mac Mixed Reference Macros Issues

Click For Summary

Discussion Overview

The discussion revolves around issues related to recording mixed reference macros in Excel 2011 for Mac. Participants explore the challenges faced when trying to create macros that utilize both relative and absolute references, particularly in the context of varying data lengths across multiple sheets.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses frustration with recording a mixed reference macro, noting that separate macros with relative or absolute references work fine, but the mixed reference macro does not record any actions.
  • Another participant suggests combining the codes of separately recorded macros or writing the macro from scratch if recording does not yield results.
  • A participant indicates uncertainty about their technical skills, mentioning they attempted to write the macro from scratch as shown in a referenced video but did not achieve the desired outcome.
  • There is a suggestion that recording macros allows for basic functionality, and for more complex tasks, participants may need to write or modify macros manually.
  • One participant questions whether there are specific steps to ensure the macro recording works on their Mac, as they believe the video demonstrates basic functionality that should be applicable.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to resolve the macro recording issue. There are differing opinions on whether recording is sufficient or if manual coding is necessary.

Contextual Notes

Participants mention the limitations of recorded macros in performing complex tasks and the potential need for manual adjustments or coding. There is also an acknowledgment of varying experiences with Excel on different platforms.

IrinaK.
Messages
33
Reaction score
0

Homework Statement


Hello!

I would be grateful for your help. I've tried many many times to record a mixed reference macro on my mac, and it doesn't record a thing.
No problems with recording separate macros with relative or absolute reference.

Problems description:

I have few sheets with tables of the same format, but the amount of data in colums is different, thus I need a macro that would have both relative and absolute references.

Homework Equations



I do every step exactly as they have to be done, following this instruction from 10:44 to 21:48

Let me repeat: when I separately record macros with relative or absolute references, these guys work.

The Attempt at a Solution


After following all steps, I check what is being recorded (the code) and it shows this (relative nothing, no steps, no records):

Sub Macro25()
'
' Macro25 Macro
' newmacro
'
' Keyboard Shortcut: Option+Cmd+q
'
End Sub

Thank you!
 
Physics news on Phys.org
You can record both versions and combine their codes properly or even write the macro from scratch if changing during recording does not work.
 
mfb said:
You can record both versions and combine their codes properly or even write the macro from scratch if changing during recording does not work.
I am not sure I am that technically informed. I presume I did write the macro from scratch, just as it is shown in the video attached. The result, well no result actually. I've tried it many many times by creating different tables.
 
No, I mean write as in actually write, like you write text here.
 
mfb said:
No, I mean write as in actually write, like you write text here.
thank you, but I am sorry, I do not understand you. did you have a chance to check the part of video I am talking about?
 
Yes.
You can record macros, but that just allows very basic things. If you want to do more complex things, you'll have to write the macro yourself (or at least modify existing recorded code). There are tons of tutorials how to write macros.
 
mfb said:
Yes.
You can record macros, but that just allows very basic things. If you want to do more complex things, you'll have to write the macro yourself (or at least modify existing recorded code). There are tons of tutorials how to write macros.

you see, this video shows truly basic macro, and these steps work in any Excel except for my one on Mac. Shall I do something differently to make sure it works on my one too? I am not talking about profound issues; I just need to record the same thing shown in the video.
 

Similar threads

Replies
27
Views
4K
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 18 ·
Replies
18
Views
4K
Replies
8
Views
3K