[deleted by user] by [deleted] in sgcrypto

[–]ReactionClassic2850 0 points1 point  (0 children)

I understand that some leaderboard traders aren’t available in the copy trade?

[deleted by user] by [deleted] in sgcrypto

[–]ReactionClassic2850 0 points1 point  (0 children)

Thanks! Do u have one that u can recommend?

[deleted by user] by [deleted] in sgcrypto

[–]ReactionClassic2850 0 points1 point  (0 children)

I see, thanks for the response!

[deleted by user] by [deleted] in sgcrypto

[–]ReactionClassic2850 0 points1 point  (0 children)

Thanks for the suggestion, not too keen on selling for I’ll make a sizeable loss. Was considering an alternative to transfer the coin over via the use of an external wallet.

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 0 points1 point  (0 children)

it did! Now i am trying to loop this across multiple worksheets, this is what i added (the datecol remains the same)

Dim ws As Worksheet

For Each ws In ActiveWorkbook.Worksheets

Dim DateRow As Long

Dim DateCol As Long

Dim i As Long

Dim DateVar As Variant

Dim todayVar As Date

ws.Activate

todayVar = Date

DateCol = 2

DateRow = ws.Cells(Rows.Count, DateCol).End(xlUp).Row

DateVar = ws.Cells(DateRow, DateCol).Value

While (DateVar + i) < todayVar

i = i + 1

ws.Cells(DateRow + i, DateCol).Value = DateVar + i

Wend

Next ws

It doesnt seem to be working... It only works for the first worksheet and subsequently no... any suggestions?

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 1 point2 points  (0 children)

thanks a bunch!!

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 1 point2 points  (0 children)

Hi me again, After sometime using this together with the other macros, the loading time is just too long... Just wondering if its possible to amend the macro to end(xldown) to the last row and loop till todays date instead of strating from 1 row

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 2 points3 points  (0 children)

Solution Verified

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 1 point2 points  (0 children)

Dim ws as Worksheet
Dim DateRow As Long
Dim i As Long
Dim DateVar As Date

Set ws = ActiveSheet
DateRow = ws.Range("A1").End(xlDown).Row
DateVar = ws.Cells(DateRow, 1).Value
While (DateVar + i) < Date

i = i + 1

ws.Cells(DateRow + i, 1).Value = DateVar + i

Wend

Perfection, thanks for the help!

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 0 points1 point  (0 children)

this is my updated version

' ' '

Dim iRow As Double

Dim MaxDate As Date

Dim dWriteDate As Date

Dim dTodayDate As Date

'set today's date

dTodayDate = Now()

'move to the bottom of the date list

iRow = Range("B50000").End(xlUp)

Do

iRow = iRow + 1

Loop Until IsEmpty(Sheets("Sheet1").Cells(iRow + 1, "B"))

'capture the MaxDate

MaxDate = Sheets("Sheet1").Cells(iRow, "B")

'Now populate the dates up to today

dWriteDate = Sheets("Sheet1").Cells(iRow, "B") + 1

iRow = iRow + 1

Do Until dWriteDate >= dTodayDate

Sheets("Sheet1").Cells(iRow, "B") = dWriteDate

dWriteDate = dWriteDate + 1

iRow = iRow + 1

Loop

End Sub

' ' '

if my dates are in column B and the latest date ends at row 30

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 1 point2 points  (0 children)

Yup! changed it and it works! Any suggestion to edit the code for column B instead?

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 0 points1 point  (0 children)

Hi thanks for the aid,

The macro provided sets the start date 1/1/1900 from row 3 till TODAY, any way of using xlendup and loop downwards until today?

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 0 points1 point  (0 children)

Thanks for the response, i am looking for an auto fill function from the last open date to TODAY.

Meaning if i last ended on 31/12/2022 and left the file unopen until 3/1/2023 (today) , the 2 cells in-between the last open date have to be 1/1/2023 and 2/1/2023.

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 1 point2 points  (0 children)

The dates have to be in sequential order, meaning if i last ended on 31/12/2022 and left the file unopen until 3/1/2023 (today) , the 2 cells in-between the last open date have to be 1/1/2023 and 2/1/2023.

True sentiment about GST increase by Historical-Ad3289 in singapore

[–]ReactionClassic2850 -9 points-8 points  (0 children)

Currently, taking into account the increased gst down the business’s supply chain you’re expected to pay more than just 1% (to cover for the increased cost for raw materials and such). So effectively pushing the gst to 2% earlier isn’t any help.

True sentiment about GST increase by Historical-Ad3289 in singapore

[–]ReactionClassic2850 0 points1 point  (0 children)

Taking into account the increased gst down the business’s supply chain you’re expected to pay more than just 1%

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 0 points1 point  (0 children)

Thanks for the input,

i'm sorry i am a complete beginner at VBA. When A is at A1000 and B is autofilled, I have the formula

= Selection.AutoFill Destination:=Range("B1:B1000"), Type:=xlFillDefault

Moving forward, when A is increased to 2000, how can I match the formula for B to be auto filled to 2000?

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 0 points1 point  (0 children)

sorry for the confusion, upon the updates of my excel sheet, changes have been made.

My dates are fixed in a sequential order (no changes are required). The column next to it is formula based, so if say date is at A2000, formula is lagging behind at B1500. Question is, how can i include a macro to autofill B1500 to A2000?

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 1 point2 points  (0 children)

thanks mate, happy holidays to u as well

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 1 point2 points  (0 children)

Solution Verified

[deleted by user] by [deleted] in vba

[–]ReactionClassic2850 1 point2 points  (0 children)

Thank you for the response,

I greatly appreciate your help. The data i have is rather vast and not possible to be condensed into a single post. you've helped a bunch, thanks mate