Refactoring/Debugging code

CMIIandExcel

Board Regular
Joined
Sep 4, 2009
Messages
190
Hi all

I have built up a bundle of code which i am trying to refactor and tidy up a bit.

In the editor is there a way to see where a procedure is called by looking at the procedure, other than setting breakpoints and running all the main procedures.

Any other tips or points to good articals on using the editor would be welcome.

Thanks in advance

Mike
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Ahh - that's useful to me as I have an Access db of Functions where I need to understand how they are used. Presumably I can modify to work in Access (shouldn't be difficult as only the one db).

Unfortunately, Access lets UDFs be used in SQL statements, so I assume I will have to trawl thru the query defs manually?

Thanks Zack!!!
 
Upvote 0
Zack

Thanks for the link, it would be just what i need but it doesnt seem to work on my excel:(

I get the Added option in my menus, when I click on it it displays the pick a workbook dialog but the are no workbooks listed to pick from.

I am running Excel 2003, any ideas why its failing ?

Regards

Mike
 
Upvote 0
@Mike: Are all of the workbooks saved?

@Richard: I'm not that good with Access to know. I would think, off the top of my head, you could put the SQL statements into textual format and do a search on it, maybe using a text file and EOF-type iteration? Or even solely via VBA w/ InStr()? Dunno! :(
 
Upvote 0

Forum statistics

Threads
1,214,912
Messages
6,122,200
Members
449,072
Latest member
DW Draft

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