Option Explicit
Const FOLDER_SAVED As String = "F:\1350\tset\" `Makes sure your folder path ends with a backward slash
Const SOURCE_FILE_PATH As String = "F:\1350\microteknik catagog.xlsx"
Sub TestRun()
Dim MainDoc As Document, TargetDoc As Document
Dim dbPath As String
Dim recordNumber As Long, totalRecord As Long
Set MainDoc = ActiveDocument
With MainDoc.MailMerge
'// if you want to specify your data, insert a WHERE clause in the SQL statement
.OpenDataSource Name:=SOURCE_FILE_PATH, sqlstatement:="SELECT * FROM [Sheet1$]"
totalRecord = .DataSource.RecordCount
For recordNumber = 1 To totalRecord
With .DataSource
.ActiveRecord = recordNumber
.FirstRecord = recordNumber
.LastRecord = recordNumber
End With
.Destination = wdSendToNewDocument
.Execute False
Set TargetDoc = ActiveDocument
TargetDoc.SaveAs2 FOLDER_SAVED & .DataSource.DataFields("CODE").Value & ".docx", wdFormatDocumentDefault
TargetDoc.ExportAsFixedFormat FOLDER_SAVED & .DataSource.DataFields("CODE").Value & ".pdf", exportformat:=wdExportFormatPDF
TargetDoc.Close False
Set TargetDoc = Nothing
Next recordNumber
End With
Set MainDoc = Nothing
End Sub
Blood Bank Instruments Blood banks play a crucial role in healthcare by collecting, testing, processing, and storing blood and its components. To ensure efficiency and safety, various instruments and equipment are used in blood banks. Here’s a list of some key blood bank instruments and their uses: 1. Blood Collection Monitors These devices ensure a safe and efficient blood collection process . They monitor the volume of blood collected and the collection time, ensuring that the donation is stopped at the right moment to avoid over-collection. 2. Blood Mixers Blood mixers are used during blood collection to ensure that the blood anticoagulant solution is thoroughly mixed with the donated blood, preventing clotting. 3. Blood Bag Tube Sealers These devices are used to seal the tubing of blood bags after collection . They use radiofrequency or heat to create a strong, leak-proof seal, ensuring the sterility of the collected blood. 4. Ce...
Comments
Post a Comment
अपनी राय और सवाल यहाँ शेयर करें! कृपया अपने कमेंट्स में फालतू के स्पैम लिंक्स न डालें। आपके कीमती सुझावों का हमेशा स्वागत है।