Search:

Type: Posts; User: xwxc230302

Search: Search took 0.03 seconds.

  1. Re: Excel VBA - SpinButton - 3rd Friday of every month

    Hi,

    I have another question on spin button. The date function doesn't seem to work in the spinbutton code as an error pops out saying "can't find project or library".
    For example, i have a...
  2. Re: Excel VBA - SpinButton - 3rd Friday of every month

    Hi,

    Thanks, i managed to modify my code

    Private Sub SpinButton1_Change()

    Dim FstDate, ExpDate As Date
    Dim DayNo, Link_Cell As Integer
    Dim ExpCell As Range
  3. Re: Excel VBA - SpinButton - 3rd Friday of every month

    Hi,

    Many thanks for your guidance, i managed to write the code that almost return a result that i wanted.
    I have 2 issues that i couldn't figure out the solution. Here is the code:

    Private...
  4. Excel VBA - SpinButton - 3rd Friday of every month

    Hi,

    I am trying to draw a spin button on a userform, in order to generate the date of the 3rd friday of each month that is after the current date (today). In order words, the coming 3rd friday...
  5. Replies
    2
    Views
    4,247

    Re: Excel VBA - Multiply Function

    Hi

    Many thanks

    xwxc
  6. Replies
    2
    Views
    4,247

    [RESOLVED] Excel VBA - Multiply Function

    Hi,

    I'm trying to input a formula into a particular cell, of which the formula involves a pre-defined variable, as below:

    Range("C" & Rw).formula = "= Range("A" & Rw) * Range("B" & Rw) *100"
    ...
  7. Re: Excel VBA - Worksheet_Change Function

    Many thanks

    xwxc
  8. Re: Excel VBA - Worksheet_Change Function

    Hi, many thanks, the code works perfectly.

    Do you mind to explain to me why the additional of #1 next to "target" makes such a different? I tried to do a search but couldn't be satisfied.
    ...
  9. Re: Excel VBA - Worksheet_Change Function

    Hi,

    thanks for the amended code.

    I meant to put the worksheet_change code into the active worksheet, not the 'this workbook'.

    When i change the cell value in C5:C31 to 'sent', the code...
  10. [RESOLVED] Excel VBA - Worksheet_Change Function

    Hi,

    I am setting up a worksheet that contains some vba functions and among them, I wrote a code with Worksheet_change in order to call up a userform if the cell value in the target changes to...
  11. Replies
    14
    Views
    15,634

    Re: Excel VBA - Count value

    Hi.

    Thank you very much, that's exactly what i have been trying to achieve.
    Many many thanks

    Best,

    xwxc:)
  12. Replies
    14
    Views
    15,634

    Re: Excel VBA - Count value

    :(...

    Sorry i got another question on your code...

    How should i include your code as part of mine, where i have a commandbutton that contains the code as below:


    Private Sub...
  13. Excel - Checkbox from Form/Control Toolbar

    Hi,

    I am going to insert as many as 27 checkboxes to a column, with 1 in each row.
    Is there a simple way to do it at 1 go?
    Is the checkbox from Control toolbar much useful than the on from Form...
  14. Replies
    14
    Views
    15,634

    Re: Excel VBA - Count value

    Yeah...something like this, but instead of writing code of 'GetRowFromChkBox(WatchList_ChkBox1)' separately for each checkbox, is there any alternative by doing them at 1 time? Would the checkbox...
  15. Replies
    14
    Views
    15,634

    Re: Excel VBA - Count value

    To Clarify what i'm going to do,

    I'd like to have a code to copy info from column L to column U, if the checkbox is ticked.

    Regarding the checkboxes, they were input in tough way--one by one,...
  16. Replies
    14
    Views
    15,634

    Re: Excel VBA - Count value

    Hi,

    Sorry i should have done it earlier
    thank you again

    xwxc
  17. Replies
    14
    Views
    15,634

    Re: Excel VBA - Count value

    Hi, that's great, thank you for the code.

    Also, with the same worksheet, i've been trying to write the code to copy the certain cells on the row where the checkbox is true (note only 1 'true' can...
  18. Replies
    14
    Views
    15,634

    Re: Excel VBA - Count value

    Hi,

    I managed to upload the pdf format.
    Please see attached

    thank you again

    xwxc
  19. Replies
    14
    Views
    15,634

    Re: Excel VBA - Count value

    Hi Thanks for your reply.

    I was trying to upload the file but for some reason it was unsuccessful as it said "invalid file".

    A B C D E
    1 FALSE
    2 FALSE
    3 TRUE √
    4 TRUE √ ...
  20. Replies
    14
    Views
    15,634

    [RESOLVED] Excel VBA - Count value

    Hi,

    I just started to learn how to write vba code for excel and i encounter an issue with 'count' which i couldn't get much information from the internet. It'd be great if you could help me with...
Results 1 to 20 of 20



Click Here to Expand Forum to Full Width