Excel VBA Basics #2 - Using the Cells object with and without range object, named ranges

  Рет қаралды 358,280

ExcelVbaIsFun

ExcelVbaIsFun

11 жыл бұрын

📊 Free Workbooks: www.excelvbaisfun.com/links?u...
🥷Join Excel Ninja Pro: www.excelvbaisfun.com/ninjapr... Months FREE On Annual Plan Auto Applied)
🥷Excel Ninjas FB Group: www.excelvbaisfun.com/xlninjas (Free downloads, Trainings, Live Q&A and more)
Download Workbook: www.excelvbaisfun.com/links?u...
In this video, we learn how to:
Use the CELLS object, Use Cells object with Range object, Use the Range object to affect a "named range" -IMPROVED AUDIO
Fantastic Developer Tools:
🔒 Transform Any Excel File Into A Locked EXE: www.excelvbaisfun.com/secure-... (25% off with code ‘25OFF’)
🟡 Create Custom Installers: www.excelvbaisfun.com/custom-...
👋 Business Inquiries, Consulting, Comments, etc: www.excelvbaisfun.com/contact/

Пікірлер: 102
@excelisfun
@excelisfun 11 жыл бұрын
Thanks so much for this video # 2! Love the Cell object!
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
Merry Christmas everyone. I hope God blesses you richly this upcoming year. Remember, you ARE a success!! Believe it, be it! Blessings my friends!! Dan
@ExcelVbaIsFun
@ExcelVbaIsFun 11 жыл бұрын
Awesome, arka! You're welcome. Thanks for watching!
@rajassy
@rajassy 8 жыл бұрын
As usual, a great video, THANK YOU Dan! This is what I learned from this video - Use Cells as a Property [Note: the snytax is 'Cells' not 'Cell] - Use Cells Property within Range Object - Using a variable within Cells Property - Use Column reference such as "C" or "AC" within a Cells property instead of an index, comes handy instead of counting index number for column "CK" - Easy/Lazy way to refer a range using a square bracket (from a use comment) God Bless
@s2253455
@s2253455 11 жыл бұрын
Thanks for making the VBA videos, I like your videos which is predominantly VBA and Mike Garvin Excel basics to advance videos, easy to follow and entertaining in regards to the style of teaching from both Excel guru, hopefully I will use your site to post some technical VBA questions that I have problem understanding. Good work, looking forward to more video posting. Thanks
@jgautam1977
@jgautam1977 11 жыл бұрын
This is the best I found on net for learning VBA. Many thanks for your hard work.
@suresh1234able
@suresh1234able 8 жыл бұрын
Hi, I found this superb. What shall I do, if I want to copy and keep updated a range of values from one workbook to another? Thank you..
@QuickMadeUpName
@QuickMadeUpName 9 жыл бұрын
This is great stuff! Thanks for posting these videos!
@ExcelVbaIsFun
@ExcelVbaIsFun 9 жыл бұрын
QuickMadeUpName You're so welcome. Love your username!! Dan
@AdrianHyatt
@AdrianHyatt 11 жыл бұрын
God bless you too, Dan. This feed is gold.
@JanBolhuis
@JanBolhuis 11 жыл бұрын
Thanks for this clear lesson. Can you give your advice wheter you should use Range(cells(1,1),cells(6,3)) or cells(1,1).resize(6,3)? Or don't have these two any connections?
@ExcelVbaIsFun
@ExcelVbaIsFun 11 жыл бұрын
Great point, i've been meaning to cover this. Thanks for the reminder, excelsocallmaster!! Dan
@arkatrina
@arkatrina 11 жыл бұрын
Finally found a proper excel vba tutorial video!!!!! Thanks man!!!!
@ExcelVbaIsFun
@ExcelVbaIsFun 11 жыл бұрын
I'm glad to help! Let me know if you have any questions/ video topics or projects you have, maybe I can help. Dan
@ExcelVbaIsFun
@ExcelVbaIsFun 11 жыл бұрын
Wow great, glad it helps! Dan
@javedahmed8343
@javedahmed8343 2 жыл бұрын
I got the point I was looking for. Thanks.
@alarconick
@alarconick 8 жыл бұрын
Thank you so muchhh. Good tutorial so far.
@Excel527
@Excel527 11 жыл бұрын
Time ago and I'm looking for educational videos for vba Thank you very much and we hope a detailed explanation to reach the professional stage
@felipe_meira
@felipe_meira 9 жыл бұрын
best videos of excel, i´m learning everything of VBA with your lessons. Thank you so much.
@nadiracamm1373
@nadiracamm1373 3 жыл бұрын
Ittituuuuuwwww
@mysimonhughes
@mysimonhughes 11 жыл бұрын
this is good - thanks for taking the time to make the videos
@gerelltroche
@gerelltroche 8 жыл бұрын
Running these videos at 1.25 speed is fantastic. Whenever I listen to your voice at normal speed i feel like you're talking in slow motion haha
@gildorgjunior
@gildorgjunior 7 жыл бұрын
Dude, I chose 1.5x. Way better...
@BryTheNiceGuy
@BryTheNiceGuy 5 жыл бұрын
@@gildorgjunior I run it at 2x the speed and I could not be happier.
@thomasfergusen5144
@thomasfergusen5144 4 жыл бұрын
i am not good at to speak eng so i shoud click 0.75x maybe ;)
@ExcelVbaIsFun
@ExcelVbaIsFun 11 жыл бұрын
Thanks Suneel!
@asifarshed6775
@asifarshed6775 7 жыл бұрын
Really awesome, so far going good...
@knunne1
@knunne1 11 жыл бұрын
Enjoy them, keep it up!
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
Thanks!!!
@mrswinkyuk
@mrswinkyuk 10 жыл бұрын
Very Nicely done. Thank you.
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
Very welcome!
@userme2803
@userme2803 9 жыл бұрын
I just started seeing your videos. This is my second one. I am hoping to see a video which shows how to use a form to enter data in excel cells. So far your videos are amazing and the way you started is excellent. Well done and thanks a lot. Excellent job.
@ExcelVbaIsFun
@ExcelVbaIsFun 9 жыл бұрын
Leza Wang Thanks Leza, this video of mine is very popular on the topic of data entry. kzfaq.info/get/bejne/mJx3fb2klbSwoY0.html Blessings, Dan
@userme2803
@userme2803 9 жыл бұрын
lol, or I do not know what to say ... that what I have been looking for long time.. amazing, you are amazing. thanks a lot, really appreciate it. take care.
@ExcelVbaIsFun
@ExcelVbaIsFun 9 жыл бұрын
Leza Wang wow, what a nice endorsement! Thank you Leza.
@maribelflores5603
@maribelflores5603 11 жыл бұрын
Thank you man. Very successful video. God bless you too!!
@MaheshKumar-ih6me
@MaheshKumar-ih6me 10 жыл бұрын
Awasome part is that u made it simple and real fun..... Thanks mate:-)
@ExcelVbaIsFun
@ExcelVbaIsFun 9 жыл бұрын
Mahi Y Thank you!!
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
Starting a new channel for Piano Lessons, learn by Chord and play by ear! Check it out here: How to Play Piano by Chord - Beginning Chords - C
@adiltheprodigy8235
@adiltheprodigy8235 6 жыл бұрын
How do you do for the yellow color and the red lines when you move the mouse?
@sasavienne
@sasavienne 5 жыл бұрын
Brilliant. Thanks a lot.
@rodrigocustodio1955
@rodrigocustodio1955 4 жыл бұрын
Thank you and GOD bless you too !
@BetsysH0pe
@BetsysH0pe 10 жыл бұрын
Another great video
@yestadayfk
@yestadayfk 10 жыл бұрын
i love u bro
@mxrvxn08
@mxrvxn08 2 жыл бұрын
im new to programming, and ur vids easy to follow and understand. thank u so much
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
So glad it has helped you, marvin! You're so welcome! Thanks Dan
@darrengodkin
@darrengodkin 8 жыл бұрын
Great video and very helpful
@detaildevil6544
@detaildevil6544 6 жыл бұрын
Thank you very much, this tutorial helped me alot
@ExcelVbaIsFun
@ExcelVbaIsFun 6 жыл бұрын
You are very welcome! Thanks for the comment!
@Totardotech
@Totardotech 9 жыл бұрын
Two cores of vba that I concern up to this video: 1. range 2. cells Thank you Sir!
@aa2lo060
@aa2lo060 8 жыл бұрын
Thank you for help people to know
@steve6429
@steve6429 5 жыл бұрын
Excellent!!!! ty
@amorbatna2725
@amorbatna2725 3 жыл бұрын
شكرا لك Thank you
@krishnaklv3459
@krishnaklv3459 11 жыл бұрын
Thanks a lot for posting videos..............
@Lenin1777
@Lenin1777 9 жыл бұрын
Am going through your videos now....want to know how to import data from on excel sheet to other.Just a copy and paste special.
@soyjaider8996
@soyjaider8996 2 жыл бұрын
Thanks so much, incredible video, you help me too
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Glad to hear that! So happy it helps, Soy!
@ExcelVbaIsFun
@ExcelVbaIsFun 11 жыл бұрын
Great, keep it up! Please ask if you have any questions! -Dan
@emanalbar
@emanalbar 8 жыл бұрын
Thank you.
@excelsocallmaster
@excelsocallmaster 11 жыл бұрын
What most people know is that cells object also supports column text name so cells(6,3) can also be written as cells(6, "C").....it comes in handy when you are referencing bigger columns
@vincehoag
@vincehoag 10 жыл бұрын
Great video series. I find it interesting that in VBA Excel references the cells "backwards" -- I mean row first, then column. But whenever you click on a spreadsheet cell, the column is first. The name box will never say "3B" but B3.
@TheTornado121
@TheTornado121 10 жыл бұрын
There is an option in Excel to change the reference style to the one used in VBA. A1 would then be R1C1 or B3 would be R3C2 and so on. However it's very inconvenient for long formulas.
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
Totally, it is strange.
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
TheTornado121 Thank you TheTornado121. yes that sounds like it would be cumbersome.
@retvolki
@retvolki 5 жыл бұрын
It's because it uses (X,Y) coordinates which is the standard form. So technically VBA is correct and actually the reg Excel is "backwards".
@tylerdurden5555555
@tylerdurden5555555 8 жыл бұрын
Hi, excellent videos.. Thanks for uploading. I have a quick question.. I am using this on Excel 2016 on a Mac, and the F8 function just does not work.. I have tried everything. Do you know of any reason why this should be the case?
@gildorgjunior
@gildorgjunior 7 жыл бұрын
there isn't vba on mac os
@aman1245singh
@aman1245singh 10 жыл бұрын
God bless you!! :)
@parichaytayal169
@parichaytayal169 7 жыл бұрын
How to se command line by line ? In Excel 2013 is not working for executing lines.
@omarameer5707
@omarameer5707 6 жыл бұрын
amazing
@bradfordstring65
@bradfordstring65 10 жыл бұрын
Nice videos.
@Anthony_Desponds
@Anthony_Desponds 10 ай бұрын
Do you know why coordinates of .cells are (y, x) and not like all the mathematicals (and excel) consensus (x, y) ?
@datascientistoflife8550
@datascientistoflife8550 2 жыл бұрын
Thanks man for how to use cells along with ranges...
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Happy to help
@archanaaa2514
@archanaaa2514 4 жыл бұрын
Sir as a fresher how to start vba coding? I am a beginner to learn vba. How much skills should I knw in vba as a fresher?
@ms1sabsepyari
@ms1sabsepyari 10 жыл бұрын
Wonderful awesome
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
Thanks!
@TheMayank1000
@TheMayank1000 7 жыл бұрын
I am getting error while i am running , Range(Cells(6, 3)) = "ha" Could you please advise what is the reason behind
@curtisbaugher4904
@curtisbaugher4904 6 жыл бұрын
you don't have a second cell provided for your range. the range function is looking for a starting cell and an ending cell to create a range. Range(a,b) will give you a range from a to b. you have not entered a b location! If you want a range between cells a1 and c6 you must enter Range(Cells(1,1), Cells(6,3)) = "ha". Do you see how you are missing the second cell.
@lisianab
@lisianab 10 жыл бұрын
Hello, When I click on the Visual Baic, it opens an empty window :(
@Laxmanmane007
@Laxmanmane007 5 жыл бұрын
Nice vdo
@PeteVala
@PeteVala 10 жыл бұрын
Hi Man, i think CELLS is PROPERTY (returns range object) not object...
@5953kim
@5953kim 5 жыл бұрын
Absolutely right.
@scottyjay692
@scottyjay692 8 жыл бұрын
Hi Dan. When I go to download your e-book, I get a 404 error once I hit subscribe.
@evagiorgi4202
@evagiorgi4202 9 жыл бұрын
I don't know why the f8 doesn't work as debugging and doesn't highlight the sentence in yellow but in red.
@ExcelVbaIsFun
@ExcelVbaIsFun 9 жыл бұрын
Eva Giorgi Red is usually an incomplete statement or syntax error, my friend. Whatcha got.? Dan
@hamasalam665
@hamasalam665 8 жыл бұрын
use Fn + F8 on keyboard
@BartSchuck
@BartSchuck 9 жыл бұрын
Cheaters way: Sub test() [a1] = "Short syntax" End Sub Note use of square brackets
@wiko211
@wiko211 5 жыл бұрын
Thx that helped me a lot since my teacher won t fucking tell me all those stuff
@Jago8300
@Jago8300 9 жыл бұрын
why would you use cells when you can do this by doing range?
@arthurloginow1685
@arthurloginow1685 9 жыл бұрын
+Jago A Wondering the same thing, I do not see why to use cells so far instead of range
@arthurloginow1685
@arthurloginow1685 9 жыл бұрын
+Jago A Now that I have seen the whole video I think that the adv has to be the fact that you can use variables as the coordinates of the cells, now if you can use variables for Range as well then I would like to hear someones opinion about the adv of using cells instead of range
@awaixivirals8321
@awaixivirals8321 6 жыл бұрын
Very Confusing
@ficodecko
@ficodecko 10 жыл бұрын
you do realize that this is a video so you don't have to go ovet the same thing 10 times, that we can just replay it right? I want to watch these but I cant deal with hearing things 20 times over. and skipping ahead leaves me in the wrong place.
@MohammadTaha
@MohammadTaha 10 жыл бұрын
Cells is a property not an object ;)
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
Thank you!
@MohammadTaha
@MohammadTaha 10 жыл бұрын
you're extremely welcome :)
@hotguy2985
@hotguy2985 10 жыл бұрын
actually it's an object
@ExcelVbaIsFun
@ExcelVbaIsFun 10 жыл бұрын
hotguy2985 THANKS!
@MohammadTaha
@MohammadTaha 10 жыл бұрын
hotguy2985 While I am reading about VBA, some properties return objects, and cells is one of them, don't know, much can be read and many surprises can be found, thank you Sir
@maheshpratap07
@maheshpratap07 7 жыл бұрын
Very slow..............
@ritikabaluja1053
@ritikabaluja1053 6 жыл бұрын
80% same content from last video
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 121 МЛН
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 2,4 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 15 МЛН
Copying Data from User Selected Files Using GetOpenFilename
10:26
Excel Macro Mastery
Рет қаралды 18 М.
Top Tips for Using Named Ranges in Excel
13:48
TeachExcel
Рет қаралды 35 М.
How VBA Objects Really Work in Memory
17:46
Excel Macro Mastery
Рет қаралды 53 М.
Which is the Fastest VBA Method For Reading Tables?
8:39
Excel Macro Mastery
Рет қаралды 41 М.
Dynamic Ranges with VBA
10:08
Marcus Small
Рет қаралды 14 М.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 110 М.
Excel Logical Functions - IF, AND, OR
8:05
Yoda Learning Academy
Рет қаралды 161 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 121 МЛН