cstr

  1. T

    Syntax problem

    Can someone please help me with the syntax in this video: https://www.youtube.com/watch?v=WqyroALr2PE 1 minute and 15 seconds into it, the function, GetStock has this line: If (CStr(stock.StockDate) = CStr(StockDate)) Then Set TestStock2 = stock But TestStock2 does not exist. Thanks
  2. A

    Interpret Cell as it is

    This gets me every time.. looking at the worksheet Cell I see 2:15 But reading Cells(row, Col) in VBA results in 0.09375. I think this is because the cell is formatted to suit a different data type. Is there a solid way to get "2:15" ? I tried CStr but no change.
  3. bensonsearch

    VBA Variable type

    Hi All, may be easy but i need a variable type to hold 13 digits in it. I first did long but it aint long enough. It is told hold a barcode.
  4. KG Old Wolf

    VBA - numeric to text

    This must be simple but it eludes me. I have a set of values 0 to 99 that I need to append as a two character string to an existing string. I can go through an "if" routine that checks and then functions but it seems like "too much cure for too little sickness". Isn't there some easy one...

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