KHTMFile πŸ’Ύ
1.27K subscribers
1.18K photos
341 videos
386 files
465 links
Subscribe PSD AI CDR
Download Telegram
This media is not supported in the widget
VIEW IN TELEGRAM
αžŸαž˜αŸ’αžšαžΆαž”αŸ‹αž’αŸ’αž“αž€αž–αŸ’αžšαžΈαž“πŸ–¨ αž‘αžΆαž‰αž™αž€αž―αž€αžŸαžΆαžš
- αž€αŸ’αž”αžΆαž…αŸ‹αžαŸ’αž˜αŸ‚αžš File Ai
- αž‘αŸ†αž“αžΆαž€αŸ‹αž‘αŸ†αž“αž„αž–αŸ’αžšαžΈαž“ : @MrrBunThym
- αž˜αžΆαž“ File αžŸαž˜αŸ’αžšαžΆαž”αŸ‹αž€αŸ‚αž‚αž»αžŽαž—αžΆαž–αž…αŸ’αž”αžΆαžŸαŸ‹
This media is not supported in your browser
VIEW IN TELEGRAM
αžαŸ’αž“αŸ„αžαž˜αžΆαž“αž‚αž»αžŽαžŸαž˜αŸ’αž”αžαŸ’αžŠαž· #Excel #HightRow
αž€αžΆαžαŸ‹αž˜αŸ‰αžΌαžαž•αŸ’αžŠαžΆαž…αŸ‹αž’αž€αŸ’αžŸαžš





PDF Code 1.txt

Sub SaveAsPDF()
Dim invoiceNo As String
Dim customerName As String
Dim fname As String
Dim filePath As Variant

' Get invoice number and customer name from specific cells
invoiceNo = Range("H10").Value
customerName = Range("C10").Value

' Construct file name
fname = invoiceNo & " - " & customerName

' Prompt the user to select the save location and filename
filePath = Application.GetSaveAsFilename(InitialFileName:=fname, _
FileFilter:="PDF Files (*.pdf), *.pdf", _
Title:="Save As PDF")

' Check if the user canceled the dialog
If filePath = False Then
MsgBox "Operation canceled.", vbExclamation
Exit Sub
End If

' Export the PO Template sheet as PDF
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
Filename:=filePath, _
IgnorePrintAreas:=False

' Display confirmation message
MsgBox "PDF file saved successfully.", vbInformation
End Sub


PDF Code 2.txt

Sub SaveAsPDF()

Dim invoiceNo As String
Dim customerName As String
Dim fname As String
Dim Path As String

' Get invoice number and customer name from specific cells

invoiceNo = Range("F6").Value
customerName = Range("B10").Value

' Construct file name
fname = invoiceNo & " - " & customerName

' Specify file path
Path = "C:\Users\TAHA\Documents\YT\Short\"

' Check if the specified path exists
If Dir(Path, vbDirectory) = "" Then
MsgBox "The specified path does not exist.", vbExclamation
Exit Sub
End If


' Export active sheet as PDF
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
ignoreprintareas:=False, _
fileName:=Path & fname

' Display confirmation message
MsgBox "PDF file saved successfully.", vbInformation

End Sub

VBA Code (Create New Invoice).txt

Sub CreateNewInvoice()
invoiceno = Range("E3")
Range("b3,a9:d19,e5").ClearContents
MsgBox "Your Next Invoice No. is " & invoiceno + 1
Range("E3") = invoiceno + 1
ThisWorkbook.Save


End Sub

VBA Code (Save as PDF).txt


Sub SaveAsPDF()
InvoiceNo = Range("E3")
customername = Range("B3")
Path = "C:\Users\Back-UPS\Documents\Invoice\"
fname = InvoiceNo & " - " & customername

ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, ignoreprintareas:=False, Filename:=path & fname

End Sub
#αž‚αž·αžαžŸαž·αž“
❀1
αžαž˜αŸ’αž›αŸƒαžαŸ’αž„αŸƒαž“αŸαŸ‡!
αž”αž“αŸ’αžαŸ‚αž˜αž€αž“αŸ’αž›αŸ‚αž„αž•αŸ’αž‘αž»αž€αž―αž€αžŸαžΆαžš Π‘DR file αžŠαŸ„αž™αž”αŸ’αžšαžΎαž”αŸ‚αž”αžαŸ’αž›αŸ‡αŸ— αžŸαž˜αŸ’αžšαžΆαž”αŸ‹αž’αŸ’αžœαžΎαž€αŸ’αž“αž»αž„αž€αžΆαžšαžŸαŸŠαŸ‚ សើវើ αž•αŸ’αžŸαŸαž„αŸ—αž‚αŸ’αž“αžΆαžαŸ‚αž˜αŸ’αžŠαž„ αž”αŸ’αžšαžΎαž–αŸαž›αžαŸ’αž›αžΈαž‡αžΆαž„αž˜αž»αž“αŸ” #Coreldraw
πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
Invoice αžŸαž˜αŸ’αžšαžΆαž”αŸ‹αž–αŸ’αžšαžΈαž“ αžŸαžšαžŸαŸαžšαžαŸ‚αž˜αŸ’αžŠαž„αžšαž½αž…αžŸαŸ’αžšαŸαž… ✍️✍️ #excel
❀4
This media is not supported in your browser
VIEW IN TELEGRAM
#2 Invoice αžŸαž˜αŸ’αžšαžΆαž”αŸ‹αž–αŸ’αžšαžΈαž“ αžŸαžšαžŸαŸαžšαžαŸ‚αž˜αŸ’αžŠαž„αžšαž½αž…αžŸαŸ’αžšαŸαž… αžŠαŸ„αž™αž”αŸ’αžšαžΎ Datalist αž”αžΎαž”αž„αŸ—αžαŸ’αžšαžΌαžœαž€αžΆαžšαž†αžΆαžαž˜αž€ αžαŸ’αžšαžΉαž˜αžαŸ‚ $5 β˜•οΈβœοΈβœ…πŸ‡°πŸ‡­ αž—αžΆαžŸαžΆαžαŸ’αž˜αŸ‚αžš
❀1
Forwarded from KHTMFile πŸ’Ύ
This media is not supported in your browser
VIEW IN TELEGRAM
αžšαž”αŸ€αž”αž‚αžΌαžŸ αž‡αŸ’αžšαž»αž„αžœαž·αž‰ αž“αŸƒ File BitmapαŸ” αž“αžΌαžœαž€αŸ’αž“αž»αž„ Corelraw αž›αžΏαž“αžŽαžΆαžŸαŸ‹ αžαŸ’αžšαžΌαžœαž€αžΆαžšαž†αžΆαžαž˜αž€αž”αž„αŸ—αŸ” αž‘αžΆαž‰αž™αž€αž“αžΌαžœαž‘αžΈαž“αŸαŸ‡
// configuration
var apiToken = "YOU_TELEGRAM_TOKEN";
var appUrl = "YOUR_APPSCRIPT_URL";
var apiUrl = "https://api.telegram.org/bot"+apiToken;
var command = {
"/start": "welcome to my bot",
"hi": "hello",
"what is your name?": "my name is devisty bot"
}


// set webhook
function setWebhook(){
var url = apiUrl + "/setwebhook?url="+appUrl;
var res = UrlFetchApp.fetch(url).getContentText();
Logger.log(res);
}


// handle webhook
function doPost(e){
var webhookData = JSON.parse(e.postData.contents);
var from = webhookData.message.from.id;
var text = webhookData.message.text;

if(typeof command[text] == 'undefined'){
var sendText = encodeURIComponent("command not found");
}else{
var sendText = encodeURIComponent(command[text]);
}

var url = apiUrl+"/sendmessage?parse_mode=HTML&chat_id="+from+"&text="+sendText;
var opts = {"muteHttpExceptions": true}
UrlFetchApp.fetch(url, opts).getContentText();
}


function doGet(e){
return ContentService.createTextOutput("Method GET not allowed");
}
❀1