Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2016, 07:53 PM
Guessed's Avatar
Guessed Guessed is offline Run-time error '-2147467259 (80004005)': Method 'Insert' of object 'BuildingBlock' failed Windows 10 Run-time error '-2147467259 (80004005)': Method 'Insert' of object 'BuildingBlock' failed Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,185
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The code works for me on repeated running but I am using a different BB to you. Is there something about the BB that doesn't allow you to insert something into it (eg Content Controls, Table, Floating shapes etc).

After running the code once, are you able to insert the same BB in the same location without using a macro?

Perhaps you could upload the template so we can take a look at what is going on.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 11-11-2016, 01:08 AM
Katherine1995 Katherine1995 is offline Run-time error '-2147467259 (80004005)': Method 'Insert' of object 'BuildingBlock' failed Windows 10 Run-time error '-2147467259 (80004005)': Method 'Insert' of object 'BuildingBlock' failed Office 2016
Novice
Run-time error '-2147467259 (80004005)': Method 'Insert' of object 'BuildingBlock' failed
 
Join Date: Nov 2016
Posts: 4
Katherine1995 is on a distinguished road
Lightbulb you 'guessed' it right! :)

My building block had ActiveX radio buttons & Combobox. I replaced them with a static checkbox and it worked.
But the thing I need is radio buttons to map 2 different fields of 7 & 3 options each (which otherwise will have to be handled with 21 different combinations of building blocks) which is not practical.

Any suggestions??

TIA
Reply With Quote
Reply

Tags
bookmark, building blocks, insert



Similar Threads
Thread Thread Starter Forum Replies Last Post
ADODB import of Excel data results in "Run-time error -2147467259: <sheet> is not a valid name." misaak Excel Programming 3 06-20-2016 07:55 AM
Run-time error '-2147467259 (80004005)': Method 'Insert' of object 'BuildingBlock' failed Run-time error '424': Object required zlodeh Excel Programming 1 02-24-2016 01:58 AM
Run time error - Pivot Cache Failed patrick1063 Excel Programming 0 02-08-2016 07:56 PM
Run-time error '-2147467259 (80004005)': Method 'Insert' of object 'BuildingBlock' failed Run Time Error 424 - Object Required Doug Needham Excel Programming 4 01-12-2015 10:54 PM
OUTLOOK : the operation failed. an object cannot be found luotzabl Outlook 0 02-28-2010 02:48 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:08 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