Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word Tables

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-26-2018, 02:32 AM
User75 User75 is offline Windows 10 Office 2016
Novice
 
Join Date: Jun 2018
Posts: 3
User75 is on a distinguished road
Default Word VBA : Lock the content of a table cell

Hello,

I am asked to create a macro that will create a tab, each tab should have a unique number in the first cell. The user should not be able to modify this number.



Is there a way to lock the modification of a cell ? I can't seem to find it in word vba.

Thank you.
Reply With Quote
  #2  
Old 06-26-2018, 04:33 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 18,680
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Cross-posted at: http://www.vbaexpress.com/forum/show...-of-a-tab-cell
and now at: https://stackoverflow.com/questions/...ord-tab-in-vba
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 06-26-2018, 05:32 AM
User75 User75 is offline Windows 10 Office 2016
Novice
 
Join Date: Jun 2018
Posts: 3
User75 is on a distinguished road
Default

Thank you,


sorry about that, I realized that I was in the wrong section but could not find a way to delete my original post.
Reply With Quote
  #4  
Old 06-26-2018, 05:37 AM
User75 User75 is offline Windows 10 Office 2016
Novice
 
Join Date: Jun 2018
Posts: 3
User75 is on a distinguished road
Default

Oh that's about posting on different forums, I never thought about this, I will comply next time.

Answer here : https://stackoverflow.com/questions/...46472#51046472
Reply With Quote
Reply

Tags
vba in microsoft word, vba macro, word-vba

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I add selection of multi line content control list to specific table cell Dudlee Word VBA 1 09-20-2016 04:58 PM
Excel Cell Linked to Word Doc - Lock in Formatting? wizzle89 Word 1 06-08-2015 08:33 PM
Allow Multiple Content Control same cell of form table DeborahBartlett Word 1 01-04-2014 11:06 AM
How can I get excel to lock each value that is already in the cell l so I can add it iasdfs Excel 1 12-06-2011 12:52 PM
How do I lock in a Date in a cell? GatorFan1 Excel 2 12-02-2011 09:33 PM


All times are GMT -7. The time now is 08:27 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft