Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-10-2019, 08:14 PM
SamDsouza SamDsouza is offline ConmandButton dissappears when Content dispalyed on Page 1 Windows 10 ConmandButton dissappears when Content dispalyed on Page 1 Office 2013
Advanced Beginner
ConmandButton dissappears when Content dispalyed on Page 1
 
Join Date: Aug 2019
Posts: 71
SamDsouza is on a distinguished road
Default

Hi
the atmosphere is completely new in Word Classrom then Excel Classrom. I may take time in absorbing new syntaxes for VBA word. Please excuse me.

i tried the following instead of Set objDoc = objWord.Documents.Add
Set objDoc = Documents.Open("C:\WordTrial\cmdBtnWord.docm")

Then the above also led to overwriting.

I was trying for a possibility just like in Excel usually My first worksheet will have command button to initialize the userform. So in same manner was trying

Quote:
You need to create a new document from the template containing the button.
How is the above possible and if you can kindy help with positioning of Command button on Page 1 of Created New Document .because when created


ActiveX command button on Page 1 of document. i tried moving and placing. it did not move Just like in Excel you can paste it anywhere on the worksheet

Quote:
You could use an autonew macro in the template you are creating to call the userform and that template could already have the table which is fixed in your code, so there is no need to build it.
I checked in Developer Ribbon as there was no autonew macro. If yes then where can i search and get the same on ribbon
if no then what to code in AutoNew Macro or is what i've coded and to impletement the same in Autonew Macro
Also are you meaning the same to code in Document_Open() ?


Thanks
SamD
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
using styles to generate content page TYPO Word 2 12-20-2015 12:48 PM
ConmandButton dissappears when Content dispalyed on Page 1 Insert the page before table of content without altering it kbhalakiya Word 2 08-29-2012 03:53 AM
ConmandButton dissappears when Content dispalyed on Page 1 Rotate Page and Content Within It. walker140 Word 1 11-13-2011 11:08 PM
ConmandButton dissappears when Content dispalyed on Page 1 Page number in table of Content Ritu Office 1 09-19-2011 05:10 AM
ConmandButton dissappears when Content dispalyed on Page 1 Paragraph Disappears when Tabbing it over GWalkaa Word 11 07-22-2011 03:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:31 AM.


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