![]() |
|
#1
|
|||
|
|||
![]()
Where can Building Blocks be stored?
|
#2
|
|||
|
|||
![]() Quote:
One of teh building blocks is: Click or tap here to enter text. called for executive session. Note: "The Click or tap here" is auto text. This building block is used with time also. so the Macro is as follows: Sub OutOfOrder() ' ' OutOfOrder Macro ' ' Selection.Font.Bold = wdToggle Selection.Font.UnderlineColor = wdColorAutomatic Selection.Font.Underline = wdUnderlineSingle Selection.InsertDateTime DateTimeFormat:="h:mm am/pm", InsertAsField:= _ False, DateLanguage:=wdEnglishUS, CalendarType:=wdCalendarWestern, _ InsertAsFullWidth:=False Selection.TypeParagraph Selection.Font.UnderlineColor = wdColorAutomatic Selection.Font.Underline = wdUnderlineNone Application.Templates( _ "C:\Users\cking\AppData\Roaming\Microsoft\Docu ment Building Blocks\1033\16\Building Blocks.dotx" _ ).BuildingBlockEntries("OutOfOrder").Insert Where:=Selection.Range, _ RichText:=True End Sub Now to get that to work when I first open My Word Template, I must open Building blocks, or there is a line that can be added to the Macro that loads building blocks so it loads when I first use my macro. I am trying to find out what teh wording is to add that to my Macro, so it will automatically load when first used. I hope this help in the explanation. Thank you |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
yacov | Word VBA | 11 | 12-09-2019 06:13 AM |
Need help with Visual Basic for Presentations to make a Macro | Edward222 | PowerPoint | 0 | 05-30-2017 03:13 PM |
Problem batch adding autotext using Greg Maxey's Building Blocks Add-In | Genuine Gin | Word VBA | 5 | 12-16-2015 10:20 AM |
Building blocks show correctly in dropdown, but wrong building block populates in doc | wordgirl123 | Word | 0 | 10-03-2013 08:30 AM |
![]() |
KateAus | Word VBA | 4 | 09-09-2012 08:40 PM |