Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Helmut Weber
 
Posts: n/a
Default

Hi Carolan,

a bit of programming just for fun,
nothing serious really,
but if you like it, you might want to learn more about VBA.

Example for column 1:

Sub NextCell()
Dim n As String
If Selection.Information(wdEndOfRangeColumnNumber) = 1 Then
n = Selection.Cells(1).Range.Text
n = Left(n, Len(n) - 2)
If IsNumeric(Left(n, Len(n))) And _
Right(n, 2) " $" Then
n = n & " $"
Selection.Cells(1).Range.Text = n
End If
End If
WordBasic.NextCell
End Sub

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"



 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tilde and Dollar Sign in Open Dialog Box Bernard Littman New Users 4 April 23rd 23 02:55 PM
table column width problems Dena Tables 2 March 8th 05 03:51 AM
formatted paragraph shading top of 2nd column appears bottom 1st c Nadia Microsoft Word Help 3 February 17th 05 04:03 AM
Dragging table column resets Sedonakids Tables 0 January 12th 05 01:11 AM
Not your average Word column question - help! John Microsoft Word Help 6 January 11th 05 04:32 AM


All times are GMT +1. The time now is 07:23 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"