ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Editing Macro (https://www.excelbanter.com/excel-discussion-misc-queries/65270-editing-macro.html)

heitorfjr

Editing Macro
 

I saved an Excel Template from microsoft and customized for the
functions I wanted (Thanks Bob Phillips for the help). I was able to
partially edit the macro function but I can't go any further editing to
finish it.

I basically deleted a bunch of functions and the macro function is to
add a new month. However I was hoping to do it without adding new boxes
where the other functions used to be '(View screenshot). '
(http://i30.photobucket.com/albums/c3...dhighlight.jpg)Also
for some reason it's not opening a new month exactly where it was
originally designed to, if I don't have the box "Montly Gain/Loss" that
I created highlighted, it will open to the left of whatever the
highlighted box is.

My new spreadsheet saved on geocities

http://www.geocities.com/heitorfjr/M...ghttracker.xls


Here is the original spreadsheet:

http://office.microsoft.com/en-us/te...CT010482871033


--
heitorfjr
------------------------------------------------------------------------
heitorfjr's Profile: http://www.excelforum.com/member.php...o&userid=30491
View this thread: http://www.excelforum.com/showthread...hreadid=501494


Bob Phillips

Editing Macro
 
I think that you have not completely changed the macro to relate to your SS
changes. You changed the heading from 'Month loss' to 'Month Gain/Loss' and
you also changed the first part of the macro to look for the new heading.

But ... the macro looks for it again later (doh on template writer!), in the
line

Cells.Find(what:="month loss").Activate 'If Month Loss column is
found, select it

later in that macro. Why he just doesn't say

c.Activate

there is beyond me.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"heitorfjr" wrote
in message ...

I saved an Excel Template from microsoft and customized for the
functions I wanted (Thanks Bob Phillips for the help). I was able to
partially edit the macro function but I can't go any further editing to
finish it.

I basically deleted a bunch of functions and the macro function is to
add a new month. However I was hoping to do it without adding new boxes
where the other functions used to be '(View screenshot). '
(http://i30.photobucket.com/albums/c3...dhighlight.jpg)Also
for some reason it's not opening a new month exactly where it was
originally designed to, if I don't have the box "Montly Gain/Loss" that
I created highlighted, it will open to the left of whatever the
highlighted box is.

My new spreadsheet saved on geocities

http://www.geocities.com/heitorfjr/M...ghttracker.xls


Here is the original spreadsheet:


http://office.microsoft.com/en-us/te...CT010482871033


--
heitorfjr
------------------------------------------------------------------------
heitorfjr's Profile:

http://www.excelforum.com/member.php...o&userid=30491
View this thread: http://www.excelforum.com/showthread...hreadid=501494





All times are GMT +1. The time now is 08:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com