vba code line number

K

kdp145

hello,

i was wondering if there is an option in VBA to display line numbers o
the code. we are migrating to a new server space and i need to chang
database and file locations in my code, so i am just trying to map ou
on which lines i would need to change the code. so far my best optio
is to just keep a track of the module and the procedure name in whic
the code needs to change, but going through a lot of procedures is tim
consuming
 
C

colofnature

The line and column number of the cursor's location are displayed in the
standard toolbar of the VBE (e.g. "Ln 1, Col 1"). You could annotate the
locations needing changed as you find them by adding a comment to the
end of the line - I use 'FIXME to mark problem lines. Then it's easy to
search the module for the notes.

Col
 
K

kdp145

thnx for the reply...thats a good solution.

another solution which i just found out from one of my co-workers i
using a bookmark...just go through the code and bookmark the lines yo
want..and later when you want to change the code, you can cycle throug
the bookmarks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top