• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Search results

  1. lohithsriram

    Unable to parse a value without hardcoding index

    HI Shahin, Try the array to get the last index. Sub Data_scraper() Dim IE As New InternetExplorer Dim ieDoc As HTMLDocument Dim wdArray() As String With IE .Visible = False .navigate...
  2. lohithsriram

    while running macro, work with another excel

    Hi, You need to create a new instance of Excel for this. Once your Macro is running on Excel, go to start, run and type in "Excel" to open a second instance. Open your other workbooks on the 2nd instance.
  3. lohithsriram

    Setting Limit Send Email VBA

    Hi Asparagus, I am not very clear what exactly you want here but you can try a trick of saving True or False on a cell somewhere on your Excel workbook. By default set the cell value to False and check this before sending an email . when it is open for the first time, since its False send the...
  4. lohithsriram

    VBA code needed for copying checkbox captions to clipboard

    Glad that it worked. Yes, Agree with Narayan sir. It makes the code much more crisp if we add it up in the collection loop. Thanks.
  5. lohithsriram

    VBA code needed for copying checkbox captions to clipboard

    Hey, Replace Txtuserfree with your own text box name what you have on the form. Also, ignore that "concatenate the text" term here as I was asking you to add all your checkboxes in the way I have done these lines If CheckBox1.Value Then strclipboard = strclipboard & CheckBox1.Caption &...
  6. lohithsriram

    VBA code needed for copying checkbox captions to clipboard

    Hi Grumpy88, Try the below code. This will let you grab the string data and puts it on the clipboard. Remember, you will have to add a reference to your VBA project, go to the Tools menu in the VBA editor and choose the References item. In the dialog that appears, scroll down the list and...
  7. lohithsriram

    File exists or not with created time

    objFolder.self.modifydate should fetch you the modified datetime of the folder. Check if objfolder is nothing after you set the folder. If its nothing then exit the sub
  8. lohithsriram

    Import pic with Reference

    Glad it helped you... All the best. :DD
  9. lohithsriram

    Import pic with Reference

    Found this code on web, but have changed a bit for your need. Copy this UDF code to your workbook module and use as a function on your Excel cell. By default the image fits to your cell otherwise you can specify a range as well where you want to expand your image. Public Function...
  10. lohithsriram

    automatic charting from user input

    Hi Goslings, There is a very good explaination of creating the charts with dynamic range of values. Check this out. I hope this is what you are looking for http://chandoo.org/wp/2009/10/15/dynamic-chart-data-series/
  11. lohithsriram

    unprintable highlighting

    Hi Wilco, Use Mike H's idea to select all the datavalidation cells in the Excel worksheet and add the Conditional Formatting for all the cells. Choose all DataValidation Cells Conditional Formatting -> Format only Cells that contain -> Format only cells with "No Blanks" This should show...
  12. lohithsriram

    Power Map 2013 - Data Labels

    Hi Bsmith, Uploading a sample file will fetch you a better answers. Thanks.
  13. lohithsriram

    automatic charting from user input

    Hi Goslings, What are you trying to achieve here? Do you want these 3 charts to get automatically change when a new row of data is added? or do you want a new chart to be added with a new row?
  14. lohithsriram

    Weight Scale Chart - FunChart

    Hi Deb, Innovative!!! keep bringing more and more. How about adding the weights(datalabels- 3D polygon shapes) on the weighing scale plates. That should make it look more realistic.
  15. lohithsriram

    Paste data in selected sheets - Loop through selected sheets

    Hi Arul Govind , Add the below line of code after the FOR statement. Activate the sheet before you paste the values. This should work fine. wks.Activate Your code should be Public Sub PASTEDATASELSHEET() 'PASTE DATA IN SELECTED SHEETS Application.DisplayAlerts = False Dim wks As Worksheet...
  16. lohithsriram

    Paste data in selected sheets - Loop through selected sheets

    Hi Nagovind, I am unable to figure out the issue you have. I tried the macro in each sheet and it works. 1) Do you mean grouping the sheets and then run the macro? 2) Do you want to run this macro on all the sheets in the work book? If so, you will have to change the line of code (for loop to...
  17. lohithsriram

    Excel stops working and shuts down?

    Hi Jack, As you say the file works fine on a different laptop, its something on the PC causing this. As you check for the XML under Manage addins, also select Disabled Items and click go. Check if any addins/files are disabled over there. If so, select all and enable those. 1) I have noticed...
  18. lohithsriram

    Autofill cells that contain data validation

    Hi nagovind, There is no direct way to do this. The below link has an idea. Check if this helps you. http://www.contextures.com/xlDataVal10.html
  19. lohithsriram

    Excel question - Hover over image event VBA

    Brilliant!!! Glad to hear that the Idea worked. Also remember to have the menu visible=False on the Worksheet_SelectionChange event, just incase if the mouse move is too fast and the Image1_MouseMove doesn't trigger. This ensures the menu go off when you are out of the shape and before doing...
  20. lohithsriram

    Excel question - Hover over image event VBA

    Hi Chirayu, I have a restriction to upload the file and hence cannot do that. I will try my best to explain what i thought. Shapes for sure will not hold any events. We need Activex controls (button or an image) to capture the mouse move (hover) events. So, for your need we require 2 activex...
  21. lohithsriram

    Excel question - Hover over image event VBA

    Hi Chirayu, Make me understand better!!! Is this image you are placing on the Worksheet and mouse over it should show/hide the menu? Image Activex Control does have the mouse move event to make it work as hover. You can track the event arguments (X & Y) to determine the cursor position and...
  22. lohithsriram

    Macro to Save PDF (some adjustments needed)

    Hi Andrei, There seems no built in way to prompt the replace option window using the ExportAsFixedFormat command. However, you can validate it by checking the existence of the file before you export it. There is a way described in the below link. Please go through and let me know, if you need...
  23. lohithsriram

    Delete workbooks with specific prefix in its name

    Brilliant!!! Thanks SirJB7 & @NARAYANK to add that missing spice to make it taste better. Thank you all.
  24. lohithsriram

    Help in Excel

    Hi Rahul, Check your Excel macro security settings. It could be set to high security, which generally disables the macros to run. Before that, please follow the new joiner's link on bobhc's post. Thanks.
  25. lohithsriram

    Macro to Save PDF (some adjustments needed)

    Hi Andrei, I have revised your code to resolve both the issues. Please check and let me know, if you need any other changes with this. Sub savetopdf() Dim strFilePath As String s = Range("S3").Value v = Range("D10").Value On Error GoTo errCheck strFilePath = GetFolder() If Not...
Back
Top