Fill out empty form on button press macro

jlythgoe

New Member
Joined
Dec 15, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have created a webpage that includes a login system and a form that you are able to submit. The form includes the questions the customers are asked in participating in a Site Survey. This data is stored into google sheets and then taken to an excel using a query.

Currently the excel spreadsheet will show any uploaded forms once data is refreshed. I have created a macro that will gather the record data, copy an empty form, paste the record in its correct cells and rename the sheet as “Completed Survey”.

The problem with this is if I dropdown the cell where the button is located to copy it down to the rest of the rows, it will only create a form from the first record that is inputted not the record next to the button pressed.
This is what the raw data looks like :
1639577303510.png


And the data is placed in a file like this:
1639577364178.png
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,214,601
Messages
6,120,462
Members
448,965
Latest member
grijken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top