Generate Table excel with determinate input

ToseSenpai

New Member
Joined
Apr 18, 2021
Messages
29
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Can i ask you if i can generate an excel table with determinate input?
I attach an image for better explain:

Capture.PNG


As you see, when i insert a value (row of table), its possible to generate the rows like the image?
That will help me for the data entry, cuz i dont want to leave free cells of the table !

Ty all for the help ! :)
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I found the solution for anyone interested about this thread ! ?

With this VBA code you can add/insert row with a input box that resolve my problem !
You can decide to insert new rows or copy them from another positions !
Unfortunately I didn't find a method to dynamically fit rows to cell value like in the picture but i'm satisfied !
Have a good day :)

VBA Code:
Sub ROWSNUMBER()

Dim iRow As Long
Dim iCount As Long
Dim i As Long

iCount = InputBox(Prompt:="How many rows you want to add")
iRow = 11
'InputBox _
'(Prompt:="After which row you want to add new rows? (Enter the row number")

For i = 1 To iCount
   Rows(10).copy
   Rows(iRow).Insert Shift:=xlShiftDown
    'Rows(iRow).EntireRow.Insert
Next i

End Sub
 
Upvote 0
Solution

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

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