Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to nottyR6,stirlo,groundhog7,uspaul666,snowey, for Donating to support the site

HYPTUSS - a new tic

Discussions regarding financial software
Arborbridge
The full Lemon
Posts: 11219
Joined: November 4th, 2016, 9:33 am
Has thanked: 3841 times
Been thanked: 5740 times

HYPTUSS - a new tic

#696898

Postby Arborbridge » November 25th, 2024, 7:27 am

My v11-85 ran OK on Saturday, but has developed an oddity: on the FTSE-HYP tracking sheet, the latest "run" over-writes the final row rather than adding one row on.

Has anyone else noticed this?

Any ideas on how this can have happened, or how to correct it (bearing in mind I'm totally Excel "programming" ignorant).

Thanks,


Arb.

seagles
Lemon Slice
Posts: 520
Joined: August 19th, 2017, 8:37 am
Has thanked: 160 times
Been thanked: 245 times

Re: HYPTUSS - a new tic

#696901

Postby seagles » November 25th, 2024, 8:17 am

There is a fix viewtopic.php?p=682356#p682356
I think that is the right link.

Arborbridge
The full Lemon
Posts: 11219
Joined: November 4th, 2016, 9:33 am
Has thanked: 3841 times
Been thanked: 5740 times

Re: HYPTUSS - a new tic

#696903

Postby Arborbridge » November 25th, 2024, 8:28 am

seagles wrote:There is a fix viewtopic.php?p=682356#p682356
I think that is the right link.


Thanks for that. Oddly, I've been runningv11-85 until this weekend without that problem showing up - yet I note it was talked about in September!

Arborbridge
The full Lemon
Posts: 11219
Joined: November 4th, 2016, 9:33 am
Has thanked: 3841 times
Been thanked: 5740 times

Re: HYPTUSS - a new tic

#696907

Postby Arborbridge » November 25th, 2024, 8:37 am

seagles wrote:There is a fix viewtopic.php?p=682356#p682356
I think that is the right link.


The problem being that v11-88 doesn't download prices - which is why I use v11-85.

Can anyone guide me as to how to access this code in the link above and make the change needed?

Thanks.

seagles
Lemon Slice
Posts: 520
Joined: August 19th, 2017, 8:37 am
Has thanked: 160 times
Been thanked: 245 times

Re: HYPTUSS - a new tic

#696950

Postby seagles » November 25th, 2024, 12:13 pm

1. Open spreadsheet.
2. Click on Developer
3. Click on Visual Basic
4. Click on VBAProject, this will open a password box
5. Enter pleaseletmein
6. Click on Microsoft Excel Objects
7. Double Click on sheet1
8. Scroll down to end of object to get to getindex
9. Meanwhile copy
If cleanString(hrow.Cells(0).innerText) = index Then
'Debug.Print hrow.Cells(0).innerText, hrow.Cells(1).innerText
indexValue = cleanString(hrow.Cells(1).innerText)
End If
10. Replace
If hrow.Cells(0).innerText = index Then
'Debug.Print hrow.Cells(0).innerText, hrow.Cells(1).innerText
indexValue = hrow.Cells(1).innerText
End If

with copied code.

I have provided a workaround
So using "get yields" or "get prices" is currently overiding the last entry in the tracking tab. My workaround is to add figures to the first 2 columns, then it will add a "new" line next time you use either of the two "buttons".

seagles
Lemon Slice
Posts: 520
Joined: August 19th, 2017, 8:37 am
Has thanked: 160 times
Been thanked: 245 times

Re: HYPTUSS - a new tic

#696957

Postby seagles » November 25th, 2024, 12:50 pm

BTW I believe the reason your 11.85 is working is that it has the parameter for getting prices set to shareprice rather than yahoo. If you change this on 11.88 it will also work as it grabs data from shareprice.


Return to “Financial Software - Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests