Note: The other languages of the website are Google-translated. Back to English
Logáil isteach  \/ 
x
or
x
Cláraigh  \/ 
x

or

Conas ceangaltáin a athainmniú i bhfuinneog Outlook gan sábháil ar dhiosca?

Maidir le ceangaltáin de theachtaireacht ríomhphoist a fuarthas, b’fhéidir gur mhaith leat na ceangaltáin seo a athainmniú le go n-aithneofaí go héasca iad in obair amach anseo. I ndáiríre, níl aon fheidhm ionsuite Outlook ann chun ceangaltáin a athainmniú go díreach i bhfuinneog Outlook gan iad a shábháil ar dhiosca. San Airteagal seo, taispeánfaimid duit modhanna chun ceangaltáin a athainmniú in Outlook.

Ceangail le cód VBA in Outlook a shábháil agus a athainmniú go huathoibríoch
Ceangail a athainmniú go héasca i ríomhphost gan sábháil ar dhiosca le Kutools for Outlook


Ceangail agus athainmnigh ceangaltáin le cód VBA in Outlook

Sa chuid seo, cuirfimid cód VBA ar fáil chun ceangaltáin ríomhphoist roghnaithe a shábháil go huathoibríoch. Tar éis duit sábháil, is féidir leat a fheiceáil gur cuireadh an dáta modhnaithe deireanach de na ceangaltáin mar réimír ar na hainmneacha bunaidh ceangaltáin. Déan mar a leanas le do thoil.

1. Sa Doiciméid fillteán, cruthaigh fillteán nua darb ainm Ceangaltáin chun ceangaltáin ríomhphoist roghnaithe a shábháil agus a athainmniú.

2. Roghnaigh an ríomhphost le ceangaltáin a theastaíonn uait a shábháil agus a athainmniú le dátaí modhnaithe.

3. Brúigh Eile + F11 eochracha go comhuaineach chun an Microsoft Visual Basic le haghaidh Feidhmchláir fuinneog. Sa Microsoft Visual Basic le haghaidh Feidhmchláir fuinneog, cliceáil Ionsáigh > Modúil, agus ansin greamaigh faoi bhun chód VBA isteach i bhfuinneog an Mhodúil.

Cód VBA: Sábháil ceangaltáin agus cuir dáta modhnaithe leis roimh ainm an chomhaid

Public Sub saveattachmentsadddate()
	Dim itm As Outlook.MailItem
	Dim currentExplorer As Explorer
	Dim Selection As Selection
	Dim objAtt As Outlook.Attachment
	Dim saveFolder As String
	Dim fso As Object
	Dim oldName
	Dim file As String
	Dim DateFormat As String
	Dim newName As String
	Dim enviro As String
	enviro              = CStr(Environ("USERPROFILE"))
	saveFolder          = enviro & "\Documents\Attachments\"
	Set currentExplorer = Application.ActiveExplorer
	Set Selection       = currentExplorer.Selection
	Set fso             = CreateObject("Scripting.FileSystemObject")
	On Error Resume Next
	For Each itm In Selection
		For Each objAtt In itm.Attachments
			file = saveFolder & objAtt.DisplayName
			objAtt.SaveAsFile file
			'Get the file name
			Set oldName  = fso.GetFile(file)
			DateFormat   = Format(oldName.DateLastModified, "yyyy-mm-dd ")
			newName      = DateFormat & objAtt.DisplayName
			oldName.Name = newName
			Set objAtt   = Nothing
		Next
	Next
	Set fso = Nothing
End Sub

4. Brúigh an F5 eochair chun an cód a rith, agus sábhálfar na ceangaltáin i ríomhphost roghnaithe chuig an bhfillteán "\ Doiciméid \ Ceangaltáin \" agus cuireadh an dáta modhnaithe deireanach de na ceangaltáin leis mar réimír ar na hainmneacha bunaidh ceangaltáin go huathoibríoch.

nótaí:

1. Más mian leat ceann ar bith de na ceangaltáin a athainmniú i ríomhphost roghnaithe in ionad iad uile ar an mórchóir, ní féidir leis an modh seo oibriú.
2. Sábhálfaidh agus athainmneoidh an cód seo rudaí eile mar íomhánna, cairteacha, cruthanna agus mar sin de sa chorp ríomhphoist.

Ceangail a athainmniú go héasca i ríomhphost gan sábháil ar dhiosca le Kutools for Outlook

Seo a mhol go hard an Ceangail Athainmnigh gné de Kutools le haghaidh Outlook. Leis an ngné seo, is féidir leat ceangaltáin a athainmniú go díreach i bhfuinneog Outlook gan sábháil ar dhiosca.

Kutools le haghaidh Outlook : le níos mó ná 100 breiseán áisiúil Outlook, saor chun triail a dhéanamh gan aon teorannú i 60 lá.

1. Tar éis a shuiteáil Kutools le haghaidh Outlook, roghnaigh r-phost le do thoil na ceangaltáin a athainmneoidh tú, agus ansin cliceáil Kutools > Uirlisí Ceangail > Athainmnigh Gach.

2. Sa Ceangaltáin Athainmnigh bosca dialóige, is féidir leat a fheiceáil go bhfuil ainm gach ceangaltáin de r-phost roghnaithe liostaithe sa Ainm colún. Cliceáil faoi dhó ar ainm ceangail le heagarthóireacht, agus ansin cliceáil ar an OK cnaipe chun na hathruithe a shábháil.
Leideanna: Is féidir leat gach ainm astaithe a mhodhnú nó díreach ceann ar bith de na hainmneacha ceangaltáin a mhodhnú de réir mar a theastaíonn uait sa bhosca dialóige.

Ansin athainmnítear ceangaltáin san fhuinneog ríomhphoist roghnaithe. 

nótaí: Is féidir leat ceangaltán áirithe a athainmniú trína roghnú sa Phána Léitheoireachta, cliceáil Kutools > Athainmnigh, sa bhosca dialóige athainmniú, ainm nua a chlóscríobh sa Ainm bosca agus ansin cliceáil ar an OK cnaipe chun é a shábháil. Féach an pictiúr:

Más mian leat triail saor in aisce a bhaint as an bhfóntas seo, téigh chuig íoslódáil saor in aisce na bogearraí ar dtús, agus ansin téigh chun an oibríocht a chur i bhfeidhm de réir na gcéimeanna thuas.


Earraí gaolmhara:


Kutools for Outlook - Tugann sé 100 Gné Ard le Outlook, agus Déan an Obair i bhfad Níos Éasca!

  • Auto CC / BCC de réir rialacha agus ríomhphost á sheoladh; Auto Ar Aghaidh Ríomhphoist Il de réir saincheaptha; Freagra Auto gan freastalaí malairte, agus gnéithe níos uathoibríoch ...
  • Rabhadh BCC - taispeáin teachtaireacht nuair a dhéanann tú iarracht gach ceann a fhreagairt má tá do sheoladh ríomhphoist ar liosta BCC; Meabhraigh Nuair a bhíonn Ceangaltáin ar Iarraidh, agus gnéithe meabhrúcháin níos mó ...
  • Freagra (Gach) Leis na Ceangaltáin Uile sa chomhrá poist; Freagair go leor Ríomhphost i soicindí; Beannacht Auto Cuir leis nuair a thabharfar freagra; Cuir Dáta leis san ábhar ...
  • Uirlisí Ceangail: Bainistigh Gach Ceangaltán i ngach Ríomhphost, Auto Detach, Comhbhrú Gach, Athainmnigh Uile, Sábháil Gach ... Tuarascáil Thapa, Líon Ríomhphoist Roghnaithe...
  • Ríomhphoist Cumhachtacha Junk de réir saincheaptha; Bain Ríomhphoist agus Teagmhálacha Dúblacha... Cuir ar do chumas déanamh níos cliste, níos gasta agus níos fearr in Outlook.
kutools lámhaigh dearcadh kutools tab 1180x121
kutools lámhaigh dearcadh kutools móide cluaisín 1180x121
 
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Mike · 3 years ago
    Well, that didn't work. Thanks for nothing.
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Dear Mike,
      Any problem with the method, please don't hesitate to let me know. Thank you for your comment.
  • To post as a guest, your comment is unpublished.
    SG · 4 years ago
    I can only echo previous comments: I would like to be able to re-name the file when I forward it. I wouldn't want to re-name the original that I received from a client. I need to be able to re-name when I'm passing on files internally and they need to comply with internal naming conventions. It's a shame that this is not available.
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Dear SG,
      The suggestion was adopted. We are trying to enhance the function to be more useful. We really appreciate your advice.
  • To post as a guest, your comment is unpublished.
    SG · 4 years ago
    I think it is essential that you can re-name files in message that you want to forward. I need to keep the original name of a file in the original e-mail, but re-name to comply with internal naming conventions before I pass it on internally. So, I need to be able to see both entries.
  • To post as a guest, your comment is unpublished.
    Christopher Moor · 4 years ago
    Nice tool with the Kutools add on.
    There is a condition I think is confusing people.
    You can't rename it in the message if you pop the message out of the main Outlook Window.
    You have to be in the main Outlook interface, highlight the attachment, then the ATTACHMENT TOOLS tab turns on.
    There, appears a second KUTOOLS tab with the rename option in the original email.
  • To post as a guest, your comment is unpublished.
    Christopher Moor · 4 years ago
    Nice tool with Kutools!
    I find that the rename option is available on the original email only if you haven't popped the email out of the Outlook Interface.
    The Attachment Tools tab is highlighted and you have to switch to the Kutools tab under the Attachment Tools tab.
    I think that is where people are getting confused.
  • To post as a guest, your comment is unpublished.
    POL · 5 years ago
    Nice software, but it sucks that you can only change the name of the file AFTER an email has been sent. That defeats the purpose. Want to change the name when creating a new email just after having attached the file BEFORE sending out.
    • To post as a guest, your comment is unpublished.
      Tonny · 5 years ago
      yes, want to change name before send out, the feature is very important to us.