arrange data by inputbox across sheets

Maklil

Board Regular
Joined
Jun 23, 2022
Messages
175
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I have data in many sheets. what I want macro show inputbox first should write sheet name , second write columns(EX: A,G,H,K,N)
then will arrange columns in location based on sheet name and columns letters are written in inputbox.
if the inputbox is empty then show message "please fill" ,if I cancel or close then will exit , if the sheet name is wrong then the message" the sheet name is not existed" and keep inputbox open to write right sheet name , if write column doesn't contain headers in row1 and are empty cells(entire column is empty) then show message" columns are no data so you can't arrange" and copy the rest of columns contain data . ex: column A,D ,F are empty , column K,M contain data then message should indicate to reference columns are empty.
thanks
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,224,755
Messages
6,180,776
Members
452,996
Latest member
nelsonsix66

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