-
WSStuartR
AskWoody Lounger> I assume your 2nd item should have had Line in it.
It does nowThis seems to work for me…
Dim line_position, col_position As Integer Dim at_position As Single Dim bPagination As Boolean ' Previous state of pagination Dim iView As Integer ' Previous view type ' Disable background pagination to get line numbers bPagination = Options.Pagination If Not bPagination Then Options.Pagination = True ' Make sure we are in print layout view to get At and Line number If ActiveWindow.View.SplitSpecial = wdPaneNone Then iView = ActiveWindow.ActivePane.View.Type ActiveWindow.ActivePane.View.Type = wdPrintView Else iView = ActiveWindow.View.Type ActiveWindow.View.Type = wdPrintView End If at_position = Selection.Information(wdVerticalPositionRelativeToPage) ' Convert to centimeters with one decimal point at_position = Round(PointsToCentimeters(at_position), 1) line_position = Selection.Information(wdFirstCharacterLineNumber) col_position = Selection.Information(wdFirstCharacterColumnNumber) ' Reset view and pagination to original values Options.Pagination = bPagination If ActiveWindow.View.SplitSpecial = wdPaneNone Then ActiveWindow.ActivePane.View.Type = iView Else ActiveWindow.View.Type = iView End If MsgBox "At: " & at_position & "cm" & vbCrLf & _ "Ln: " & line_position & vbCrLf & _ "Col: " & col_position
StuartR
-
WSStuartR
AskWoody LoungerLook at the help for Selection.Information( )
Things you might need are
wdFirstCharacterColumnNumber for the column number wdFirstCharacterLineNumber for the line number, but will give you -1 if background pagination is on wdActiveEndPageNumber for the page number of the end of the selection StuartR
-
WSStuartR
AskWoody LoungerI’ve often written to it with simple commands like
Statusbar = “text”
I assumed that you could access the contents with a similar command, but according to the Help file for Word 2000, it is write only.
StuartR
-
WSStuartR
AskWoody LoungerDecember 15, 2001 at 7:37 am in reply to: Linking to a Visio Drawing Page (Word 2K/SR1 & Visio 2K/SR1) #558387I couldn’t get it to display the link – I had to figure it out from the Edit-Links menu.
StuartR
-
WSStuartR
AskWoody LoungerThis same question is also posted on the Excel board, I have replied to it here.
StuartR
-
WSStuartR
AskWoody LoungerIf your shape is the one I think it is then the following code will work…
Const MyFilename = _ "C:Program FilesCommon FilesMicrosoft SharedClipartautoshapBD18235_.WMF" Set MyShape = Worksheets(1).Shapes.AddPicture(MyFilename, True, True, 100, 100, 70, 70) With MyShape .Adjustments.Item(1) = 30 ' Angle of start handle .Adjustments.Item(2) = 120 ' Angle of end handle .Rotation = 0# End With
StuartR
-
WSStuartR
AskWoody LoungerDecember 13, 2001 at 9:04 pm in reply to: Linking to a Visio Drawing Page (Word 2K/SR1 & Visio 2K/SR1) #558143That worked. The link it inserted was (after a bit of manual editing ‘cos Alt-F9 wouldn’t display it)
{ LINK Visio.Drawing.6 serversharefolderfilename.VSD Drawing~page2 }
StuartR
-
WSStuartR
AskWoody LoungerDecember 12, 2001 at 7:09 pm in reply to: Linking to a Visio Drawing Page (Word 2K/SR1 & Visio 2K/SR1) #557776Stupid misunderstanding on my part, I was talking about the syntax of a Hyperlink, not a Word link field.
StuartR
-
WSStuartR
AskWoody LoungerMy Macros always break because of some condition I never thought to check for, it’s not like writing in a “real” language where everything is usually fairly well defined.
Try adding
if myRange.Information(wdWithInTable) Then or If myRange.Information(wdAtEndOfRowMarker) Then
Depending on whether you want to skip every paragraph inside a table, or just the one at the end of a row. I haven’t tested either of these but you should get the idea.
StuartR
-
WSStuartR
AskWoody LoungerYou want something like
Dim myRange As Range Set myRange = ActiveDocument.Paragraphs(1).Range Do While myRange.End < ActiveDocument.Content.End - 1 If myRange.ParagraphFormat.Style = "Normal" Then myRange.InsertAfter vbCrLf myRange.Move unit:=wdParagraph End If myRange.Move unit:=wdParagraph Loop
StuartR
-
WSStuartR
AskWoody LoungerDecember 11, 2001 at 5:51 pm in reply to: Linking to a Visio Drawing Page (Word 2K/SR1 & Visio 2K/SR1) #557557ServernameSharenameFoldernamefilename.vsd#page2 seems to work fine.
StuartR
-
WSStuartR
AskWoody LoungerDecember 9, 2001 at 5:51 pm in reply to: Problem Opening Attached Excel File In Outlook (2000) #557059When I do this on my system running
Windows 98 SE
Office 2000 SR1a
I note that the temporary file is saved in a sub-folder of my Temporary Internet Files folder.I have occassionally seen strange problems on various PCs which have very large numbers of files in Temporary Internet Fiels. How about clearing your temporary internet files from within Internet Explorer to see if this helps?
StuartR
-
WSStuartR
AskWoody LoungerThe one that always breaks my VBA code is Right-to-Left languages. If you’re going to be shipping your code to a world wide audience then you need to test using using one of these.
StuartR
-
WSStuartR
AskWoody LoungerIf you’re looking for an interactive solution then
Select the text you want to move
Press the F2 key
Move the insertion point to the destination
Press enterStuartR
PS Can anyone tell me why the /PRE tag in my previous post didn’t work?
-
WSStuartR
AskWoody LoungerI assume you are looking for a VBA solution, and not an alternative to dragging and dropping in Word. You could try Wordbasic.Movetext, according to the helpfile there is no equivalent VBA command.
The syntax is a bit tricky, something like
' select the text you want to move Wordbasic.Movetext ' move the selection point to the destination location Wordbasic.OK
StuartR
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Outlook 365 classic has exhausted all shared resources (Awaiting moderation)
by
drmark
21 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
11 hours, 21 minutes ago -
Office gets current release
by
Susan Bradley
16 hours, 5 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
1 day, 8 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
17 hours, 8 minutes ago -
Stop the OneDrive defaults
by
CWBillow
1 day, 9 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
1 day, 19 hours ago -
X Suspends Encrypted DMs
by
Alex5723
1 day, 21 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
1 day, 21 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
1 day, 22 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
1 day, 23 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
1 day, 11 hours ago -
Enabling Secureboot
by
ITguy
1 day, 18 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
2 days, 6 hours ago -
No more rounded corners??
by
CWBillow
2 days, 2 hours ago -
Android 15 and IPV6
by
Win7and10
1 day, 16 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
2 days, 19 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
2 days, 22 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
2 days, 16 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
3 days, 5 hours ago -
May preview updates
by
Susan Bradley
2 days, 16 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
2 days, 8 hours ago -
Just got this pop-up page while browsing
by
Alex5723
2 days, 21 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
2 days, 18 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 day, 20 hours ago -
At last – installation of 24H2
by
Botswana12
3 days, 20 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
18 hours, 37 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
4 days, 9 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
2 days, 7 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
4 days, 22 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.