We're building a brand new version of the site, and we'd love to hear your ideas
Members
Technology Zones
IBM Learning Center
Articles
Hosted By
Info
|
[35] VBA in Excel
Last post 08-28-2007 12:03 PM by MartinMudge. 88 replies.
-
Advertisement
|
|
-
-
-
-
-
MarkB32


- Joined on 05-18-2005

- Points 5
|
I'm having a similar problem, but this doesn't seem to help. I'm importing a sheet of data which contains dates. Some of the dates, appear in the left hand side of the cell, and are therefore not recognised as dates. I need a loop formula in VBA, which presses F2 and then enter, until it has completed the range.
Any ideas? Anyone?
hey, think i done it by = int(numberstart) seems to be ok now thank everyone
Quote:[1]Posted by sprouty69 on 14 Apr 2005 09:07 PM[/1]
hey, i'm using Vba with excel i'm very new to this. i have created a Userform that insert information into the spreadsheet, some off the information is number. Excel is saving the number has text ? can n e 1 help? thank you
|
|
-
-
-
-
TB6387


- Joined on 07-28-2005

- Points 10
|
Quote:[1]Posted by tcottam on 29 Apr 2005 05:51 PM[/1]
I am using excel to see if two large spreadsheets have changed. I am setting up an =if(exact.... statemenet to do lookups. The problems is that when one spreadsheet that has an #N/A as one the values returns an #N/A and then it interrupts my lookup.
I want to write a VB macro that will scan the document for values of #N/A and delete the contents of the cell if there is a #N/A.
Thanks in advance.
This should be simple to do...without a macro. Just setup a nested IF statement to ignore #N/A values. For instance: IF(ISNA(EXACT(A1))=TRUE,"",EXACT(A1)). This may or may not work for what you are trying to do but you didn't explain what you are looking for in depth so if this doesn't work, give more detail about your problem
|
|
-
-
-
-
djlysuc


- Joined on 11-26-2005

- Points 5
|
I am trying to use VB in excel 2003 to check if a cell has a border. I tried the following but it does not work. Can anyone explain how I should be doing this?
Code:
ActiveCell.Borders(xlEdgeLeft).Color = RGB(0, 0, 0)
If ActiveCell.Borders(xlEdgeLeft).Color = RGB(0, 0, 0) Then ActiveCell.Borders(xlEdgeRight).Color = RGB(0, 0, 0)
Thanks,
Andy
|
|
-
-
-
erniede


- Joined on 08-10-2007
- United Kingdom

- Points 5
|
This might not be the place to ask this question, but here goes...
I'd like to put a macro in an excel worksheet that limits the time someone can use the sheet. that is, I have a "demo" of a product that I want to send to some folk, but i don't want them to have the product for too long, or rather i don't want them to be able to use it indefinitely.
How can I write a macro to set an expiration date? And will that do what i want anyway?
|
|
-
-
MartinMudge


- Joined on 08-28-2007
- United Kingdom

- Points 5
|
Hi
What i am trying to do is use a formula to grap cells a specific distance apart, and then use autofill to copy these cells. Currently, I am doing it by hand as I cannot work out a formula.
So I need to take something like this (shown as formula view) :
=cellB1 =cellF1 =cellJ1
=cellC1 =cellG1 =cellK1
I then want to be able to drag this across using autofill.
|
|
|
Search
Code Samples
New Members
|