![]() |
|
|
#1
|
|||
|
|||
|
Is there any way I can move to the next line within a bookmark in vba
The code I have is as follows but I need the Address to be on new lines. Code:
If ComboBox1.Value <> "Building Control Letter" Then
Set rngBookmark = .Bookmarks("Address").Range
.Bookmarks("Address").Delete
rngBookmark.Text = "Address #1" & "Address #2" & "Address #3" & "Address #4" & "Address #5" & "Address #6"
.Bookmarks.Add Name:="Address", Range:=rngBookmark
End If
|
|
#2
|
|||
|
|||
|
Is there a way to do this or am i needing six different bookmarks ?
|
|
#3
|
||||
|
||||
|
Can you tell me, what exactly is it you are trying to do?
What is being input? How? How do you get the address (typed in, or drop down box?) What is the intended output? Format? Can you also add a copy of the document with annotations, please.
__________________
Bird If my post has helped, please add to my reputation in return - Thanks! Windows XP > Office 2003 Windows 7 > Office 2007 MASTER+ |
|
#4
|
|||
|
|||
|
Have figured it out. All I needed was Chr(11) to tab to next line
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bookmark to another document | spqr | Word | 3 | 06-26-2009 08:51 AM |
| changing first line indent | hamster | Word | 6 | 04-07-2009 12:33 PM |
| How do I reference a merged cell in a multi column & row table in MS Word ('03')? | jihanemo | Word | 0 | 03-18-2009 12:33 PM |
| TOC printing Error Bookmark not Defined | techexpressinc | Word | 0 | 12-14-2008 08:24 PM |
| Cannot delete line | adkr | Office | 0 | 04-03-2007 02:24 PM |