save as pdf & xlsx for showed data in textboxes & listbox on userform

leap out

Active Member
Joined
Dec 4, 2020
Messages
271
Office Version
  1. 2016
  2. 2010
hello
can any body help me to find macro to save data are showed in listbox & textbox as pdf & xlsx ,please?
so I have data in sheet1 and the userform contains textbox1,2,3,4 and listbox1 . when search for data it will show data in all of the textboxes,listbox1 when save the files as PDF & XLSX . the files PDF should save into folder D:\REPORTS and the files XLSX should save into D:\REPORTS\INVOICES
when rename the files after savING should be based on textbox2 . the textbox2 contains like this (INV1000-2-4/022)
thanks.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
I want adding also lables(import,export,returns,balance) also should save with the others tools.
I supposes when saving should be like sheet .I accept if use helper sheet to do that.
last thing when save the files should create borders and formatting .
if it's not clear I will post some pictures just inform me.
 
Upvote 0

Forum statistics

Threads
1,215,055
Messages
6,122,902
Members
449,097
Latest member
dbomb1414

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