Thanks again NeoPa.
I'm more comfortable with Access to be completely honest. Though I'm quite happy with excel formulas, I try to avoid excel vba & macros where I can.
User Profile
Collapse
-
Thanks NeoPa, that's what I thought too.
My first thought when he asked me about this was - if the workbooks are that important, why would they be moved or have their names changed?
I have no idea what these sheets are for, or what they contain, I just thought I'd ask, see if I was overlooking something obvious.
Thinking about it I don't even know if they're on a network share or not - though I guess they must...Leave a comment:
-
Excel VBA - Checking externally linked files
First off I apologize if this is in the wrong place - there isn't a section for Excel and I figured that Excel/Access VBA are similar enough for me to get away with it. Someone please move it if they think there's a more appropriate place for it.
To the problem.
A friend has asked me if I know of a way to keep external links unbroken - even if the linked workbook is moved or renamed. I don't think there's an easy way.
... -
I wasn't asking you to do it for me NeoPa, I was asking for help.
I didn't understand what the error message was saying so I asked, that's all.
I think I more or less understand it now, and Google is my friend, so thanks for all your help.
Mandi.Leave a comment:
-
Run-time error '91':
Object variable or With block variable not set
Error on this line
Code:If ptrThis.Port = strIP Then
Leave a comment:
-
Ah.
Each computer in the company has a random number of installed printers all attached via IP, mine for instance currently has 21. Most of the other computers were set up before I got here (which is why I don't know who has which, what each one is called etc.)
In the Printer properties, the Port Name is IP_xx.xx.xx.xx (obviously xx is the specific IP address), I'm assuming that's the part you mean?Leave a comment:
-
Print to Specific Printer
I have a button that prints a report and runs a query to update the records whose invoice was printer.
I have the report setup to print on a specific printer.
It's been working fine for months, then all of a sudden yesterday it printed on our mono machine instead of our colour one. Which meant I had to go into the queries and reset the ones that had been updated.
When I opened the report in design view and it said... -
Here's my working solution. Ta for the help guys =)
Code:<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" encoding="UTF-8" /> <xsl:template match="/"> <ToEmail> <xsl:for-each select="//XMLTemp1[not(Who=preceding-sibling::XMLTemp1/Who)]/Who">
Leave a comment:
-
Solved: Product Calculation
I know there isn't a native function for calculating the product in Access like there is in Excel, but I'm trying to incorporate our various spreadsheets into our database and therefore I need this capability.
I found this function:
Code:Function Product(strField As String, strTable As String, _ Optional strCriteria As String) As Double Dim rs As DAO.Recordset Dim strSql As String Dim dblResult As Double
Last edited by mandanarchi; Mar 24 '09, 02:45 PM. Reason: Idiot problem - named module same as function >_< -
Obvious. 'current()' was what I needed.
That plus a couple other minor edits and solved.
Always seems obvious once I've already asked.
Thanks folksLeave a comment:
-
I copied the line from a working code I have:
Code:<xsl:for-each select="//XMLtemp[Suppliers='Advent']">
Leave a comment:
-
Thanks Dormilich but that's not what I mean.
I want to only select each 'Who' once, and have all the contacts related to them listed below like this:
Code:JoeSmith Person 1 Person 2 KateGeorge Person 3
I've got this muchCode:<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Leave a comment:
-
XSL Sorting/Grouping question
I found the answer last time I was 'playing' with xsl, but I didn't need to use it then and like an idiot, I didn't save where I found it.
I've tried Google but it's not coming up with what I need.
From Access I'm exporting a file to xml in the following format:
Code:<XMLTemp> <Who>JoeSmith</Who> <Contact>Billy Joe</Contact> <telephone>123457980</telephone>
-
I don't know that one... But it has been a good few years since I last played with Excel properly.
I'll go Google when I get a chance.
Ta FishValLeave a comment:
-
Excel Macro / VBA
I'm working on a spreadsheet for a client and I'm not sure of the best way to do this.
It's basically a calendar with numbers (of days) across the top, month (in jan/feb/mar format) down the side and the year in a text field (Holidays 2009 type of thing)
I can put them together to work on them as a date no problem, and I have done to work out the day as text (mon/tue/wed format). I've used conditional formatting to put the background... -
-
Darnit. Just spotted a mistake.
The >Date()-30 should be <Date()-30
Try that and see if that one works.Leave a comment:
-
Never mind. The tech guy finally got back to me and is sorting it.Leave a comment:
-
Probably not the best / quickest method, but I'd make a query here. Something like:
Code:SELECT CustomerID FROM tblSales WHERE Postcode=[forms]![frmNewSales]![PostCode] And CustomerID=[Forms]![frmNewSales]![CustomerID] And DateOfVisit >Date()-30 AND Paid=0;
That's based on your postcode text box being called 'PostCode', and also that you have the...Leave a comment:
-
Ignore: fixed - [Invalid Security Certificate]
Code:Set myHTTP = CreateObject("msxml2.xmlhttp") Set myDom = CreateObject("MSXML2.DOMDocument") myDom.async = False myDom.Load (myxml) myHTTP.Open "POST", "https://link-removed.aspx", False myHTTP.Send (myDom.xml)
One of them...
No activity results to display
Show More
Leave a comment: