Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-04-2021, 01:05 PM
komobu komobu is offline Set font for body of calendar item through VBA? Windows XP Set font for body of calendar item through VBA? Office 2003
Advanced Beginner
Set font for body of calendar item through VBA?
 
Join Date: Feb 2011
Posts: 34
komobu is on a distinguished road
Default Set font for body of calendar item through VBA?

Dim olAppt As Outlook.AppointmentItem
Dim olApptCopy As Outlook.AppointmentItem
Set olApptCopy = Outlook.CreateItem(olAppointmentItem)

'Copy the desired details to a new appointment item
If objItem.Class = olAppointment Then
Set olAppt = objItem

With olApptCopy
.Subject = olAppt.Subject
.Location = olAppt.Location
.Body = olAppt.Body
.Categories = olAppt.Categories
.AllDayEvent = olAppt.AllDayEvent


End With

'Display the copy
olApptCopy.Display


This code takes a copy of a calendar item and copies it like a template for a new calendar item. It works really well.

Now I would like to change the font from within the code.

Is it possible?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Calendar Item to Quick Access Toolbar komobu Outlook 3 11-07-2020 03:04 PM
Insert Excel Table into Outlook Calendar Item komobu Outlook 0 02-07-2019 08:54 AM
Set font for body of calendar item through VBA? How to change the body font in an existing Design Template? Meenie50 Word 2 01-04-2017 03:17 PM
Set font for body of calendar item through VBA? VBA to change font colour in email body on send RealmOfCOnfusion Outlook 1 06-30-2016 09:55 PM
Set font for body of calendar item through VBA? Create Calendar Item though VBA komobu Outlook 3 11-19-2015 08:44 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft