![]() |
#1
|
|||
|
|||
![]() Hi, i have the following code and it does not work. I want to select the sheet with the first input box and with the 2. the value to be entered in the new column 'A'. Maybe someone can correct the code. Here is the code: Code:
Sub Einfügen_New_A_and_Fill_with_Content_SPECIFIC_SHEET() Dim ws As Worksheet, Data$ ws = InputBox("Provide a sheet name:") Data = InputBox("What would you like to insert in column A ?") For Each ws In Sheets ws.Columns(1).Insert ws.Cells(1).Resize(ws.UsedRange.Rows.Count) = Data Next End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
LaurenM | Word VBA | 13 | 12-01-2017 02:07 AM |
![]() |
nolanthomas32 | Word VBA | 4 | 09-19-2017 06:25 AM |
![]() |
warbird | Word VBA | 2 | 07-13-2015 05:44 AM |
Excel copy two numbers between specific column and paste in next sheet | visha_1984 | Excel | 1 | 12-26-2014 07:59 PM |
![]() |
malam | Excel Programming | 1 | 10-17-2014 10:01 PM |