Excel VBA Topic 2.3 - Variables

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

using the local window and stepping through the program (F8) brings a little more insight on how the variables are stored.

rickdickerson
Автор

Hi,

To edit the text on the added "button", I had to select the button and the easiest way was to right click it. This also bring up a drop down menu.

Thanks,
David

davidlanman
Автор

RuxandaMD, yes.  That also works.  You can add a couple lines to your code to test and verify.

ToddCoburn
Автор

a=a+1 can be interpreted as "replace the value in a with itself plus one".

kevinr.
Автор

Hi, big fan of the tutorials! Isthere a way to get the transcript of these tutorials?

MrZloboleon
Автор

when I would like to run the macros it gives compile error variable not defined and it points a = activecell.value. what is the reason? Although I have copied what you did properly

ElnurNamazov
Автор

"Run-time error '6': Overflow" <<< Why does the "mathisfun" module at 5:10 produce this?

Stridr
Автор

All a b c summy and divvy are variables, why you place "a" before "= activecell.value" while placing "activecell.value =" before summy. Does the order really matter ?

yijunzhu
Автор

Why do you select each cell before assigning its value to the variable? For example, instead of writing
"Range("B3").Select
a = ActiveCell.Value"
can't you just write "a = Range("B3).value"?

RuxandaMD
Автор

Why do you create a new Module1 when you type your macros? Why don't you use Sheet1 or ThisWorkbook instead? I am confused why there are all these options at the start. Are they really different? Thanks.

rgriswold
Автор

Stridr3000, check your code, each character of if, and make sure it is typed exactly as Dr Nissenson shows.  You may be grabbing an empty cell.

ToddCoburn
Автор

3:22 haha that sounded like Microsoft Sam

But these are incredibly helpful, thanks!

HKT
Автор

I am writing exactly the code that the video shows and put the according values in the cells but when I run I get "Compile Error, Variable not defined". It does not recognize the value that I am trying to give to variable a. What can I do?

TheBabisflou
join shbcf.ru