copy & print at the same time from listbox on userform to sheet

Mussa

Board Regular
Joined
Jul 12, 2021
Messages
240
Office Version
  1. 2019
  2. 2010
hello
I search for code to copy showed data in textboxes and listboxes when search on userform. so when I put item in textbox1 based on column 4 then it will show data in textbox2,3 and the listbox. should copy to sheet print (textbox1=A2,textbox2=B2,textbox3=C2) and the data in listbox contains 8 columns should begins from row4 with considering when print the data should ignore any empty row contains borders .


search on userform (2) (1).xlsm
ABCDEFGH
1ID-CCQTYTOTAL
2
3INVOICE NOID-CCBB-RTT-YOR-GGQTYPRICETOTAL
4
5
6
7
8
9
10
11
12
13
14
15
16
17
print

1.PNG
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,215,102
Messages
6,123,099
Members
449,096
Latest member
provoking

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