Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2014, 12:56 AM
RonNCmale RonNCmale is offline MacroButton as image Windows 7 64bit MacroButton as image Office 2003
Novice
MacroButton as image
 
Join Date: Sep 2012
Posts: 15
RonNCmale is on a distinguished road
Default MacroButton as image


Can you use a company logo that is a png image to act as a command button to run vba. Note: the logo is in a protected document in the header?
Reply With Quote
  #2  
Old 01-16-2014, 06:57 AM
Charles Kenyon Charles Kenyon is online now MacroButton as image Windows 7 64bit MacroButton as image Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,082
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

How is the document protected? Generally Headers are not intended to be accessible to users.

What is it you are trying to accomplish by doing this?
Reply With Quote
  #3  
Old 01-16-2014, 08:00 AM
RonNCmale RonNCmale is offline MacroButton as image Windows 7 64bit MacroButton as image Office 2003
Novice
MacroButton as image
 
Join Date: Sep 2012
Posts: 15
RonNCmale is on a distinguished road
Default

The document has text form fields and is restricted to unintentional editing without a password. When I add a command button to run the vba it shows up on the form when printed. The form already has a company logo on it, so I was thinking maybe it could be set up to run the vba and when the form is printed no extra command button. I can run the vba using the macro in the tab if I stop the protection first.
Reply With Quote
  #4  
Old 01-16-2014, 08:51 AM
Charles Kenyon Charles Kenyon is online now MacroButton as image Windows 7 64bit MacroButton as image Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,082
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

What does the command button do? See How to hide a Print CommandButton on a document form when the user clicks on it.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
MacroButton as image Macrobutton shifts view when document is protected for forms Cosmo Word 7 10-15-2013 03:28 PM
URL to image jeffcdo Word 0 02-05-2012 11:53 PM
MacroButton as image Adding Image into a excel cell and adding a hyperlink to the image saravananiyyanar Excel 3 05-04-2011 08:31 AM
Background image vs. insert image lilaria PowerPoint 0 04-18-2011 08:45 AM
MacroButton MednataMiza Word 0 06-29-2010 01:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:53 AM.


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