+ Reply to Thread
Results 1 to 26 of 26

Macro to Fill out form

  1. #1
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Macro to Fill out form

    Hello there,

    I would like to create a macro that fills out this form.

    Basically what I want to do is fill the information with column D.

    For example: E: Should be 23 till it gets to the number of column B

    The numbers highlighted in yellow are the examples
    Last edited by ACCABT; 02-02-2021 at 03:00 PM.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    Hi, have you re-read your own post?
    Please do so and try again.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    I am sorry I wasn't able to upload my excel sample, maybe that would help

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    I guess if would, it's explained in the Forum banner but just in case ...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    Yes I know, but for some reason it is not letting me upload any sample

    Here is a Dropbox link: https://www.dropbox.com/s/xdl9oi2l6p...acro.xlsx?dl=0

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    You're doing something wrong? Getting an error message?
    Dropbox worked but you should be able to attach files to the post too

  7. #7
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    I don't think I am doing anything wrong, I go to manage attachments and then when I try to select the file it won't upload, it gets stuck.

  8. #8
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    There’s a button upload and then close window

  9. #9
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    There is either an error message or a reason why a file cannot be uploaded

  10. #10
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form


  11. #11
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    I get an error.
    No go

  12. #12
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    Here is the sample attached.
    Attached Files Attached Files

  13. #13
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    I'm glad you managed to attach the file. Noe the next important thing.
    What do you want, your question and the file; maybe I'm reading something wrong but I do not understand what you want.
    You speak about a form and I only see a worksheet with many columns that don't explain what they mean.
    The first columns with all the values, what's the relation to the Box Case x columns?
    Maybe you should try a pivot table for the columns A-E ?
    I don't know, it's not clear. Sorry.

  14. #14
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Macro to Fill out form

    ACCABT,

    Try the attached.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    Hello Jindon, Thank you.

    The Macro worked perfectly

  16. #16
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    Hello Again Forum,

    Can you please help me generate a similar macro but for this particular sheet, it is almost the same
    Attached Files Attached Files

  17. #17
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Macro to Fill out form

    Please Login or Register  to view this content.

  18. #18
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    Beautiful,

    Thank you!

  19. #19
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    Hello Again Forum,

    Can you please help me generate a similar macro but for this particular sheet, it is almost the same.

    The only difference is that we need a column with "not needed" between every other column.

  20. #20
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    How about trying it out yourself, you've got enough answers all you're asking now is variations on the same theme.
    @Jindon is great at this, but don't make yourself dependant on others, try it yourself and if you then don't get any further ... HELP!

  21. #21
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    At least I am asking for help and not bitching at everyone's post

  22. #22
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Macro to Fill out form

    Happy coding

  23. #23
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Macro to Fill out form

    Quote Originally Posted by ACCABT View Post

    Can you please help me generate a similar macro but for this particular sheet, it is almost the same.

    The only difference is that we need a column with "not needed" between every other column.
    Upload a workbook with correct data layouts and the result that you want.
    It should be EXACT data layouts this time.

    Concentrate on your problem.
    Last edited by jindon; 03-15-2021 at 09:33 PM.

  24. #24
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    https://www.dropbox.com/s/gdbudvl5n5...VW20R.txt?dl=0 THIS IS WHAT I HAVE
    https://www.dropbox.com/s/cwxsc64noq...TEST.xlsm?dl=0 THIS IS THE RESULT I NEED.

    PS: I am using Dropbo's link because the website is not letting me add attachments.

  25. #25
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Macro to Fill out form

    Not really sure though.
    Please Login or Register  to view this content.

  26. #26
    Registered User
    Join Date
    12-01-2020
    Location
    US
    MS-Off Ver
    10
    Posts
    23

    Re: Macro to Fill out form

    It worked perfectly.

    Thank you for your help.

    I wish I was able to understand coding

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to auto fill a form
    By alexduy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-01-2018, 05:44 PM
  2. Macro to auto fill web form
    By thewayoulike in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2015, 07:51 PM
  3. Need Macro to Fill Database with Form Info
    By Melvinrobb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-30-2013, 02:14 PM
  4. [SOLVED] Macro to fill up a table from a User Form information
    By diego0810 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-30-2012, 02:51 PM
  5. Macro with user form to fill in Information
    By Wskip49 in forum Excel General
    Replies: 8
    Last Post: 09-22-2011, 08:19 PM
  6. modifying form/data macro to automatically fill in a field
    By wbcsc in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-05-2010, 07:46 PM
  7. Is there a way to have an Excel Macro fill out a IE web form repeatedly?
    By ishiwata in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2006, 07:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1