Add Data to Specific Sheet from User Form - Advanced Excel VBA Userform

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ •

  • @sigmatabs9814
    @sigmatabs9814 2 роки тому +1

    It really helped sir, Thanks for your video.

  • @chadsummers6565
    @chadsummers6565 5 років тому +1

    Very useful info...Thank you for sharing!!!

  • @gajananpore4746
    @gajananpore4746 3 роки тому +1

    Nice explanation, thanks

  • @saupham8192
    @saupham8192 5 років тому +1

    This code works for table format Thanks

  • @MohAboAbdo
    @MohAboAbdo 6 років тому +1

    Excellent vidéo , Thanks... Thanks.

  • @ebruhanim9562
    @ebruhanim9562 5 років тому +1

    very useful..thank you

  • @TheKlajmaS
    @TheKlajmaS 4 роки тому +1

    Awesome guide!

  • @lakhera24
    @lakhera24 10 місяців тому

    Thanks for sharing the, can we avoid to adding duplicate data based on values in specific column?

  • @elijahsmart6010
    @elijahsmart6010 2 роки тому +1

    Thanks, Sir.
    But please help me with the excel work so that we can get access to the code.

  • @LizzieW71
    @LizzieW71 3 роки тому +1

    I used this and it worked well within the same workbook. How do I get the userform to add data to another workbook?

  • @Hash_Mohd
    @Hash_Mohd 3 роки тому +2

    Excellent..... but sir is it possible to selected different columns ranges in the same sheet for different years
    Ex 2019 jan to dec, 2020 jan to dec... So on

  • @chanmonanrie6898
    @chanmonanrie6898 3 роки тому +1

    Can Search command be added in this form to search from both pages?

  • @bisiflora
    @bisiflora 5 років тому +1

    thank you so much for this

  • @coolag74
    @coolag74 5 років тому +1

    Very Good...

  • @chanmonanrie6898
    @chanmonanrie6898 3 роки тому +4

    When I click the Transfer Data button, this message box pops up "Compile error: Variable not defined". The Code is exactly the same as in your video. Any solution for this?

    • @AP-rv1qn
      @AP-rv1qn 2 роки тому

      i have the same, he needs to define his variables.

  • @mgpkumar9190
    @mgpkumar9190 3 роки тому +1

    Sir, Could you do a project on Tree view control on user form in excel!

  • @chsaddam
    @chsaddam 4 роки тому +1

    Excellent

  • @ronolds6505
    @ronolds6505 3 роки тому +1

    This is somewhat helpful. However, if you were to make the Excel file used in the demonstration video available, it would be much more useful.

  • @munnanurvenkat9014
    @munnanurvenkat9014 3 роки тому +1

    Super sir. But update data and delate row data format plage video sir

  • @heyaedhiii
    @heyaedhiii Рік тому

    Hi. How do I use this form for the newly added sheets? I mean, how does the combobox automatically detect the new sheets added when we export new data into a workbook?

  • @unuskpm
    @unuskpm 2 роки тому

    Thank you so much sir, I have one query, I have formatted Table with Total Row enabled in each Worksheet. As per your code data is being transferred to the next available empty row after Total Row. How to add data before Total Row. Please help me.

  • @saimusic9584
    @saimusic9584 3 роки тому +2

    Sir how to add search and update button in this userform

  • @c.kattenberg9279
    @c.kattenberg9279 3 роки тому +1

    dir sir, when the target sheets are protected sheets do you know the vba code? Thanks Chris from Holland

    • @ExcelDestination
      @ExcelDestination  3 роки тому

      you can take help from below given tutorial :
      ua-cam.com/video/AE3R5WGgdJc/v-deo.html

    • @c.kattenberg9279
      @c.kattenberg9279 3 роки тому

      @@ExcelDestination thank you sir, but this video is about protected or unprotected all sheets, my question is is there any code to protected or unprotected only the target sheet? ?

  • @muraliiyer7850
    @muraliiyer7850 5 років тому +1

    nice learning I have huge data file want to split into two or three sheets, some of the fileds are common for all the two/three sheets, can u guide how to do vba coding.

    • @ExcelDestination
      @ExcelDestination  5 років тому

      If you have this Project and want expert support, you can write email to exceldestination@gmail.com

  • @BedtimeRomance
    @BedtimeRomance 2 роки тому

    can u pls put the link to download this File ???

  • @CMP1307
    @CMP1307 3 роки тому

    Do you have a version of this form that allows you to use existing data (sheet 1) to specific sheets within the work book. For example, I have 100 students who are listed on sheet 1, and I want to move some of these students to sheet 2, some to sheet 3, some to sheet 4. Kind Regards, Craig

  • @rcmizohranglung7609
    @rcmizohranglung7609 4 роки тому +1

    Thats really good and clear guide..... Thanks...
    Can we transfer data to different column instead of different sheet ?

    • @naveedasghar3022
      @naveedasghar3022 4 роки тому

      hi Hranglung have u got solution for what u asked ?

  • @dairy831
    @dairy831 3 роки тому +3

    I'm having issues with your code last row = ActiveSheet.Cells(Rows.Count, 1).End(x1Up).Row

    • @sameeharox
      @sameeharox 8 місяців тому

      try "A" for column number (instead of 1), and it's xlUp (the letter "l" and not number "1").

  • @tcyaw0011
    @tcyaw0011 4 роки тому +1

    How about if we want to start the value from row 5 or any others rows?

  • @sea-byeok7087
    @sea-byeok7087 3 місяці тому

    can you teach me how to searh update with this project ? thank you

  • @RJMKJey
    @RJMKJey 4 роки тому +1

    Thanks bro

  • @shambhoogupta8575
    @shambhoogupta8575 4 роки тому +1

    Hi Sir
    Good Morning,
    I always watching your videos and Learning Very Nice.
    Can you Tell me How to do Codeing if I want SEARCH and UPDATE In this Userform.plz...
    Thank you.

    • @shambhoogupta8575
      @shambhoogupta8575 4 роки тому +1

      Hi sir
      Can you Suggest me what Codeing work if i want to Search and Update Data in any specific Worksheet.plz

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      you can take help from following tutorial :
      ua-cam.com/video/1kpRa0Z6-9g/v-deo.html

    • @shambhoogupta8575
      @shambhoogupta8575 4 роки тому

      Sir
      I am beginner .This tutorials are only for transfer data to specific sheet.If am Adding SEARCH and UPDATE command then.What will be CODE Plz Tell me...
      Thank you.

  • @naveedasghar3022
    @naveedasghar3022 4 роки тому +1

    Hi i must say productive lesson for excel students ! here i want to ask you after watching this video , suppose despite using first , second and third sheets how can we use one sheet where we make tables of first, second and third and transfer data with the help of combobox to specific cells ? i hope u get my question.
    regards

    • @aaravalan1355
      @aaravalan1355 3 роки тому

      I guess it is kinda off topic but do anyone know a good site to stream new series online ?

    • @yaelwallace8965
      @yaelwallace8965 3 роки тому

      @Aarav Alan flixportal :P

    • @aaravalan1355
      @aaravalan1355 3 роки тому

      @Yael Wallace thank you, signed up and it seems like they got a lot of movies there :D I appreciate it !!

    • @yaelwallace8965
      @yaelwallace8965 3 роки тому

      @Aarav Alan No problem =)

  • @diya2909
    @diya2909 5 років тому +1

    Really sir very nice video...I would like to ask one question....if I want to check duplicate entry...suppose same phone number is exist in any sheet then how can we know about that sheet name and cell address before transferring the data plz guide me

    • @ExcelDestination
      @ExcelDestination  5 років тому

      Thanks for watching! there is another tutorial uploaded by me for preventing duplicate entries in excel using vba code. I hope that will help you. Link is :
      ua-cam.com/video/yPUCx9HTVvo/v-deo.html

    • @diya2909
      @diya2909 5 років тому

      Dear sir...it is not working...if I am using target sheet then it is not working...if I give use single sheet then it is working...sir if you don't mind then please give a code with taking the reference of this video.

  • @DSureshKumar
    @DSureshKumar 3 роки тому +1

    Perfect.

    • @ExcelDestination
      @ExcelDestination  3 роки тому

      thanks

    • @DSureshKumar
      @DSureshKumar 3 роки тому

      @@ExcelDestination sir i have two option button. One is Dr. And second is Cr. And for only one textbook I have. Now I want to entry data as per next row... How to do it.

  • @onedaytradingcrypto2758
    @onedaytradingcrypto2758 3 роки тому +1

    NICE ,LIKE TO LEARN THHIS ,BUT I DNT KNOW WHERE TO BIGEN

  • @diya2909
    @diya2909 4 роки тому +1

    Dear sir your video is very good and useful...I need your help in one area...in this userform I want to add search button and update button...when I search the particular data of particular sheet...I could able to update the data also...please provide the codes for that and how can we do that...it's very urgent sir.I will be highly obliged.

    • @souravsarkar16
      @souravsarkar16 4 роки тому

      Dear Sir, I will require help in that.. Please help us..

  • @josharouna
    @josharouna 5 років тому

    Hello !
    Please, how could you format TextBox3 so that the numbers transfered to spreadsheet would not be a string but an Integer ?

  • @nikhillodhiya
    @nikhillodhiya 3 роки тому +1

    Thank you so much sir ❤️
    And one more question
    Is it possible to transfer same data to 2 specific sheets together ? If yes then please tell us how ?

    • @ExcelDestination
      @ExcelDestination  3 роки тому +1

      you need to add code for two sheets. process is same.

    • @nikhillodhiya
      @nikhillodhiya 3 роки тому

      Codes also same ?

    • @nikhillodhiya
      @nikhillodhiya 3 роки тому

      @@ExcelDestination sir I did it same codes and same process but results is just data transfar only one sheet can't transfer to both sheets

    • @nikhillodhiya
      @nikhillodhiya 3 роки тому

      @@ExcelDestination because maybe userform is reset automatically when combobox1 selection sheet transferred right sir ?

    • @nikhillodhiya
      @nikhillodhiya 3 роки тому

      @@ExcelDestination sir can you please make a video of what i said ? please..
      because i tried many times and also searched in youtube and also Google but not find any videos of what i want...
      please make a video for me if its possible 🙂

  • @phillipspadaro2252
    @phillipspadaro2252 3 роки тому +1

    its not working for me, data is not being transferred to selected worksheet.

  • @naveedasghar3022
    @naveedasghar3022 4 роки тому +1

    Can we transfer data to different column instead of different sheet ?

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      yes

    • @naveedasghar3022
      @naveedasghar3022 4 роки тому

      @@ExcelDestination then kindly guide us what will be the coding for that !! if possible make a video.
      thanks & Regards

  • @sandip01_11
    @sandip01_11 Рік тому

    Sir, How Can i add listbox in this userform?

  • @Muzaffareng
    @Muzaffareng 4 роки тому +1

    Dear Sir, Great work... I want to know about my problem if you can help me,
    1. I have say 5 sheets
    2. Every sheet has different data
    3. I have created 5 data entry form
    4. I have a master sheet where i have command button to show the form, where I have a label and a text box in which i shall insert the date that is common for all 5 sheets.
    5. After date I have combobox with five sheet names, when I select a name from , its respective form must be open and transfer data from that form to selected sheet.
    I need your help or suggestion or modification if you can
    Regards

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      for any vba project, you can write to exceldestination@gmail.com

  • @royokinawa
    @royokinawa 4 роки тому +1

    What if you want to modify data on the worksheets?

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      you can watch another tutorial for that at following link :
      ua-cam.com/video/uWLpEDjS_00/v-deo.html

  • @sahildarolya3189
    @sahildarolya3189 3 роки тому +1

    Need Help
    it shows error 13 and make the line highlight "ActiveSheet.Cells(lastrow + 1, 1).Value = Serial_Number.Value"

  • @alializadeh8195
    @alializadeh8195 2 роки тому +1

    Thanxx

  • @crazyfunnyvideo6477
    @crazyfunnyvideo6477 5 років тому

    Sir how we create excel page through user form in excel like a inventory software???

  • @verky56
    @verky56 4 роки тому

    Are you able to send the VBA code to my email or paste a link where I can access it?

  • @mukhlisbuneri
    @mukhlisbuneri 4 роки тому +1

    Thanks Sir... i need this in excel formate. need code.

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      let me check, if I have the original file. Pls. send me email at exceldestination@gmail.com

  • @VeasnaThiv
    @VeasnaThiv 4 роки тому +1

    hello sir how to search from sheet1 and sheet2

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      You can check another UserForm tutorial for Search, Display and add data. Link is given below :
      ua-cam.com/video/B40-vfnVagc/v-deo.html

  • @ajaymourya7775
    @ajaymourya7775 4 роки тому

    It's a very useful sir, but i have a question❓
    Can we write something according to searching any text that is written in any row or Column

  • @ruposhibanglatec6767
    @ruposhibanglatec6767 5 років тому

    how to solve compiler error targetsheet because Variable not define pls help me

    • @ExcelDestination
      @ExcelDestination  5 років тому

      You can try by defining variable also. Cell Reference is easy in case you don't have programming background.

  • @vilaskamble2098
    @vilaskamble2098 5 років тому

    I try to do this but can, t. Debug for object. How is that?

    • @ExcelDestination
      @ExcelDestination  5 років тому

      without looking at your code. can't say anything. You can send me email at exceldestination@gmail.com

  • @sunilpant2339
    @sunilpant2339 5 років тому

    Thank you for this informative video... But while I was running the code I was getting variable not defined error...i.e targetsheet and last row not defined.... When I defined it... the code ran successfully...just wanted to ask how come you didn't get the error as you have no where defined targetsheet and last row in your video...
    I am new to Excel Vba and userforms...so kindly clarify.....

    • @ExcelDestination
      @ExcelDestination  5 років тому

      I can not tell you where is the issue, you can send me your file at exceldestination@gmail.com

  • @ttaMLowe
    @ttaMLowe 4 роки тому

    It keeps entering data into the same cell, it doesn't move down a cell after data is entered. Any ideas?

  • @hariomgupta4677
    @hariomgupta4677 5 років тому

    Sir please help i want to chage every time cell range when vba run plzz make user form which ask cell rang when vba run after vba run

    • @ExcelDestination
      @ExcelDestination  5 років тому

      that would require different code. If you need this code for your project. Please send me email at exceldestination@gmail.com Thanks!

  • @karimhati4318
    @karimhati4318 5 років тому

    Hello brother please how can i insert my user form from VBA to my sheet ?

  • @lalitpatil5375
    @lalitpatil5375 3 роки тому

    SUBSCRIPT OUT ERROR WHAT CAN I DO

  • @reeteshism
    @reeteshism 4 роки тому +1

    Hello There,
    The code is working fine.
    However there is one issue.
    On the workbook which I've made there are two worksheets. The first one is named "HOME" and the 2nd is "RawData". To run the userform, one will have to click on a command button which is on "Home" worksheet.
    Whatever data is entered in the userform form, should copy in "RawData" worksheet.
    However, it's not happening. The userform is copying the data under "Home" worksheet.
    There is one more thing I've noticed. When I'm on "RawData" worksheet and runs the userform, by using developer tab, it copies the data correctly From the userform under the specified row and column in "RawData" worksheet.
    However it's not copying the data to "RawData" worksheet when I run the userform from "Home" worksheet. Instead its copying it on "Home" worksheet.
    Please guide me with the correct VBA coding, as I've tried changing the worksheet name as well on the VBA codes shown inthe video, but it didn't make any difference.
    Thanks.

  • @alijahangir712
    @alijahangir712 5 років тому

    i face error in this code i have type
    WorkSheet(TargetSheet).Active
    but it show me the Error
    how to fix it

    • @FaizurRahman00
      @FaizurRahman00 5 років тому

      Worksheet(Targetsheet).activate

    • @alijahangir712
      @alijahangir712 5 років тому

      @@FaizurRahman00 its not a gramer error its a logical error

    • @FaizurRahman00
      @FaizurRahman00 5 років тому +1

      Share your complete code,

    • @alijahangir712
      @alijahangir712 5 років тому

      @@FaizurRahman00 plz give me whatsapp no i will send u snapshot of the error

    • @ExcelDestination
      @ExcelDestination  5 років тому

      you need to use Worksheets("TargetSheet") instead of Worksheet(TargetSheet)..........there may be more error......however by looking at the line, I can say only this.

  • @skpatelgamingriderking7200
    @skpatelgamingriderking7200 5 років тому

    Sir Pls make a update,delete,view commond button

  • @casper3842
    @casper3842 5 років тому

    Not working when protected.

    • @ExcelDestination
      @ExcelDestination  5 років тому

      This is very simple. I am not sure, why it is not working for you. For Protected sheet, you need to unprotect your sheet through vba then it probably works.

  • @sangmeshwarkhurpe5109
    @sangmeshwarkhurpe5109 5 років тому

    Nice explanation, Everthing is correct mentioned in userform but still not activate the target sheet & transfer the data. Pls help.. May I share the file give me your mail id.

    • @stefanventer6356
      @stefanventer6356 5 років тому

      Hi, did you get an answer? I have the following problem and hope you might be able to assist. I have followed the coding however, when I run the code, I get an "Application-defined or Object-defined error". I need help with this and would appreciate if someone can assist me

    • @georgethanos1661
      @georgethanos1661 5 років тому +1

      @@stefanventer6356 Declare the variables after the line: Private Sub CommandButton1_Click() . dim TargetSheet as string, lastrow as long

    • @mafrazilyas
      @mafrazilyas 5 років тому +1

      @@georgethanos1661 kindly can you explain.... in my case debug this line "lastrow = ActiveSheet.Cells(Rows.Count, 1).End(x1up).Row" I don't know what is wrong here....

    • @georgethanos1661
      @georgethanos1661 5 років тому +2

      @@mafrazilyas Hi, I am not in front of a pc..declare the variables "dim lastrow as long"..the code is End(xlup). I cannot distinguished if you write it correct

    • @mafrazilyas
      @mafrazilyas 5 років тому +1

      @@georgethanos1661 that was L instead of 1! Thank you so much for the help!

  • @skpatelgamingriderking7200
    @skpatelgamingriderking7200 5 років тому

    Sir Pls make a update,delete,view commond button