Find Call procedure code within module list

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,832
Office Version
  1. 2007
Platform
  1. Windows
I wish to find where the code is for Call procedures.

For these Example.

@RoryA I did look through some old posts but didnt find what you advised.
Something like but isnt Shift Control F5 etc etc,please advise again & this time i will make a note of it Thanks


VBA Code:
Private Sub UserForm_Initialize()
Application.ScreenUpdating = False
On Error GoTo End_here
Call add_val("LOST")
Call add_val("DELIVERED NO SIG")
Call add_val("RETURNED")
Call add_val("UNKNOWN")
End_here: Application.ScreenUpdating = True
End Sub
 
That is correct.
Column G from Row A2183 to last row with values in.

Still confused as you wrote "it seems badly coded to me as it searches 7 columns but uses a fixed offset to return data from that found row"

Shall i start a new post with how to write this properly / better
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
It's not just looking at column G though. It is looking in all the cells from A2183 down to the last row in column G, not just the cells in column G in those rows. So if the last data row is 4000, it's looking at every cell in A2183:G4000, not just G2183:G4000. You probably just need to alter the A2183 to G2183.
 
Upvote 0
Ah ok so that was my mistake.
Makes sense now & as im interested in a valow that is only in column G not sure why i had it as A2183
Now changed to G2183

Thanks very much
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top